Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001209/0.001209, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009321/0.0009321, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9548/0.9548, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7738/0.7738, allocations: 203.5 MB / 0.5038 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001071/0.001071, allocations: 69.17 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.473, allocations: 102 MB / 0.8174 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003348/0.4763, allocations: 3.227 MB / 0.8205 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.4787, allocations: 1.996 MB / 0.8225 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.4788, allocations: 12.16 kB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006159/0.4794, allocations: 287.2 kB / 0.8228 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.4798, allocations: 237 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.4803, allocations: 294.2 kB / 0.8233 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.4806, allocations: 414.8 kB / 0.8237 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.4809, allocations: 165.5 kB / 0.8238 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.4812, allocations: 169.2 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.4815, allocations: 204.9 kB / 0.8242 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.4815, allocations: 23.72 kB / 0.8242 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.4819, allocations: 246.1 kB / 0.8244 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.482, allocations: 123.6 kB / 0.8246 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.4821, allocations: 123.2 kB / 0.8247 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.4827, allocations: 493.6 kB / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.4827, allocations: 0 / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.514e-06/0.4827, allocations: 1.156 kB / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.4827, allocations: 0 / 0.8251 GB, free: 12.71 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000824/0.4835, allocations: 0.5389 MB / 0.8257 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4836, allocations: 11.22 kB / 0.8257 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.4836, allocations: 60.83 kB / 0.8257 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.4842, allocations: 118.4 kB / 0.8259 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.4845, allocations: 223.8 kB / 0.8261 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4845, allocations: 19.78 kB / 0.8261 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4846, allocations: 42.33 kB / 0.8261 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005925/0.4852, allocations: 0.5182 MB / 0.8266 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4852, allocations: 0 / 0.8266 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.4852, allocations: 11.92 kB / 0.8266 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.323e-05/0.4853, allocations: 46.25 kB / 0.8267 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.4858, allocations: 362.2 kB / 0.827 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.4876, allocations: 1.646 MB / 0.8286 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.488, allocations: 244.2 kB / 0.8289 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.4882, allocations: 144.4 kB / 0.829 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4882, allocations: 2.594 kB / 0.829 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4882, allocations: 38.09 kB / 0.829 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.4882, allocations: 0 / 0.829 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001537/0.4897, allocations: 0.9025 MB / 0.8299 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.4898, allocations: 58.95 kB / 0.83 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.4901, allocations: 266 kB / 0.8302 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4901, allocations: 26.86 kB / 0.8303 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4902, allocations: 195.7 kB / 0.8305 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.4903, allocations: 95.28 kB / 0.8305 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.4904, allocations: 77.17 kB / 0.8306 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.4905, allocations: 332.8 kB / 0.8309 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.4907, allocations: 164.3 kB / 0.8311 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.4909, allocations: 241.1 kB / 0.8313 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.4914, allocations: 406.4 kB / 0.8317 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4914, allocations: 5.062 kB / 0.8317 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008445/0.4922, allocations: 0.5982 MB / 0.8323 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4922, allocations: 6.281 kB / 0.8323 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4922, allocations: 3.375 kB / 0.8323 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.4927, allocations: 190.7 kB / 0.8325 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.4929, allocations: 63.48 kB / 0.8325 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.4951, allocations: 2.362 MB / 0.8349 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.4953, allocations: 25.81 kB / 0.8349 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.4954, allocations: 17.61 kB / 0.8349 GB, free: 6.406 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.4955, allocations: 166.8 kB / 0.8351 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.4956, allocations: 24.2 kB / 0.8351 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.496, allocations: 351.4 kB / 0.8354 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.496, allocations: 4.141 kB / 0.8354 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.496, allocations: 4.047 kB / 0.8354 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.496, allocations: 6.297 kB / 0.8354 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008356/0.4969, allocations: 0.7481 MB / 0.8362 GB, free: 5.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4969, allocations: 5.344 kB / 0.8362 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.4971, allocations: 78 kB / 0.8362 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4971, allocations: 1.312 kB / 0.8362 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4971, allocations: 7.422 kB / 0.8362 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4971, allocations: 2.328 kB / 0.8362 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4971, allocations: 5.328 kB / 0.8363 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.4977, allocations: 0.6193 MB / 0.8369 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.4978, allocations: 49.3 kB / 0.8369 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.4978, allocations: 12.27 kB / 0.8369 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4979, allocations: 19.44 kB / 0.8369 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.4979, allocations: 17.17 kB / 0.837 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.498, allocations: 13.52 kB / 0.837 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001524/0.4981, allocations: 188.3 kB / 0.8371 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4981, allocations: 0 / 0.8371 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003295/0.4984, allocations: 86.19 kB / 0.8372 GB, free: 5.113 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007691/0.4992, allocations: 1.158 MB / 0.8384 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007364/0.4999, allocations: 0.5138 MB / 0.8389 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4999, allocations: 0 / 0.8389 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.5001, allocations: 141.3 kB / 0.839 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.5004, allocations: 56.83 kB / 0.839 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.5041, allocations: 3.695 MB / 0.8427 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.5042, allocations: 187.6 kB / 0.8428 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.5044, allocations: 79.31 kB / 0.8429 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.5045, allocations: 82.41 kB / 0.843 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of SimCode: time 1.123e-06/0.5045, allocations: 0 / 0.843 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.5263, allocations: 7.635 MB / 0.8504 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.632, allocations: 11.11 kB / 0.8505 GB, free: 13.34 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.622116054408252] Failed to read output from testmodel.py, exit status != 0: 7.717644926160574 7.73423803 7.248536624 Calling exit ...