Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007693/0.0007693, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 222.9 kB / 22.26 MB, free: 3.691 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9623/0.9623, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8143/0.8143, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009437/0.0009437, allocations: 74.59 kB / 0.7182 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.5595, allocations: 102 MB / 0.8178 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003833/0.5634, allocations: 3.197 MB / 0.821 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00258/0.5659, allocations: 2.052 MB / 0.823 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.5661, allocations: 13.25 kB / 0.823 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007218/0.5668, allocations: 293.3 kB / 0.8232 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.5673, allocations: 198.9 kB / 0.8234 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.5679, allocations: 258 kB / 0.8237 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.5683, allocations: 319.7 kB / 0.824 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.5686, allocations: 156.3 kB / 0.8241 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.5688, allocations: 141.2 kB / 0.8243 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.5691, allocations: 152.7 kB / 0.8244 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.5691, allocations: 19.91 kB / 0.8244 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.5698, allocations: 429.8 kB / 0.8248 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.5699, allocations: 87.72 kB / 0.8249 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.57, allocations: 127.3 kB / 0.8251 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.5708, allocations: 0.4897 MB / 0.8255 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5708, allocations: 0.5625 kB / 0.8255 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.484e-06/0.5708, allocations: 0 / 0.8255 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5708, allocations: 0 / 0.8255 GB, free: 12.58 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009066/0.5717, allocations: 0.4992 MB / 0.826 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5717, allocations: 10.14 kB / 0.826 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.5718, allocations: 56.8 kB / 0.8261 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005089/0.5723, allocations: 113.7 kB / 0.8262 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.5726, allocations: 207.4 kB / 0.8264 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.5726, allocations: 13.19 kB / 0.8264 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.5727, allocations: 16.44 kB / 0.8264 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.5731, allocations: 359.7 kB / 0.8268 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5732, allocations: 0 / 0.8268 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.5732, allocations: 11.38 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/0.5732, allocations: 22.08 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.5736, allocations: 303.4 kB / 0.8271 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.5752, allocations: 1.622 MB / 0.8287 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.5756, allocations: 237.9 kB / 0.8289 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.5757, allocations: 104.5 kB / 0.829 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.884e-05/0.5758, allocations: 13.03 kB / 0.829 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.5758, allocations: 43.94 kB / 0.829 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.465e-06/0.5758, allocations: 5.344 kB / 0.8291 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001781/0.5776, allocations: 0.8898 MB / 0.8299 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.5776, allocations: 84.11 kB / 0.83 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.5778, allocations: 212.6 kB / 0.8302 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.5779, allocations: 25.7 kB / 0.8302 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.578, allocations: 177.1 kB / 0.8304 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.578, allocations: 84.11 kB / 0.8305 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.5781, allocations: 67.36 kB / 0.8305 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003906/0.5785, allocations: 333.8 kB / 0.8309 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.5787, allocations: 135 kB / 0.831 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.579, allocations: 203.6 kB / 0.8312 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.5794, allocations: 371.5 kB / 0.8315 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5794, allocations: 0.5625 kB / 0.8315 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007173/0.5802, allocations: 0.5036 MB / 0.832 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5802, allocations: 11.12 kB / 0.832 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5802, allocations: 2.219 kB / 0.832 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/0.5806, allocations: 151.5 kB / 0.8322 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.5807, allocations: 65.03 kB / 0.8322 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.583, allocations: 3.99 MB / 0.8361 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.5832, allocations: 21.59 kB / 0.8362 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.5832, allocations: 15.12 kB / 0.8362 GB, free: 4.348 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.5834, allocations: 165.8 kB / 0.8363 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.5834, allocations: 19.33 kB / 0.8364 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.5841, allocations: 480.3 kB / 0.8368 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.5841, allocations: 3.891 kB / 0.8368 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5841, allocations: 1.125 kB / 0.8368 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.5841, allocations: 2.719 kB / 0.8368 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.5854, allocations: 0.9749 MB / 0.8378 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.5854, allocations: 2.469 kB / 0.8378 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/0.5855, allocations: 34.59 kB / 0.8378 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002704/0.5857, allocations: 151.3 kB / 0.838 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.5857, allocations: 4.469 kB / 0.838 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.588, allocations: 3.957 MB / 0.8418 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.588, allocations: 3.25 kB / 0.8418 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.5886, allocations: 0.6196 MB / 0.8424 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.5887, allocations: 53.3 kB / 0.8425 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.5888, allocations: 8.109 kB / 0.8425 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.5889, allocations: 19.56 kB / 0.8425 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.5889, allocations: 21.98 kB / 0.8425 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.5889, allocations: 9.672 kB / 0.8425 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001266/0.5891, allocations: 163.9 kB / 0.8427 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5891, allocations: 0 / 0.8427 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000457/0.5895, allocations: 89.31 kB / 0.8428 GB, free: 14.92 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009097/0.5904, allocations: 1.209 MB / 0.844 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007825/0.5912, allocations: 0.5582 MB / 0.8445 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5912, allocations: 1.094 kB / 0.8445 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.5916, allocations: 388.4 kB / 0.8449 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.5919, allocations: 41.19 kB / 0.8449 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.5955, allocations: 3.343 MB / 0.8482 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.5958, allocations: 0.7843 MB / 0.8489 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.596, allocations: 59.03 kB / 0.849 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.5961, allocations: 71.38 kB / 0.8491 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.5961, allocations: 1.125 kB / 0.8491 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.6253, allocations: 7.123 MB / 0.856 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.609, allocations: 12.88 kB / 0.856 GB, free: 6.734 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.694414610043168] Failed to read output from testmodel.py, exit status != 0: 8.698266403051093 8.710859821 8.137160613 Calling exit ...