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.0008881/0.0008881, allocations: 105.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.000897/0.000897, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9306/0.9306, allocations: 230.6 MB / 256 MB, free: 9.598 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.8188/0.8188, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.0009194/0.0009194, allocations: 62.47 kB / 0.7178 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5597, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004137/0.5638, allocations: 3.227 MB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003307/0.5671, allocations: 1.996 MB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.5673, allocations: 8.562 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.5681, allocations: 295.6 kB / 0.8228 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005148/0.5687, allocations: 238.9 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007107/0.5694, allocations: 288.4 kB / 0.8233 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.5699, allocations: 414.1 kB / 0.8237 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.5703, allocations: 168.5 kB / 0.8238 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.5706, allocations: 170.7 kB / 0.824 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.5711, allocations: 200.6 kB / 0.8242 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.5711, allocations: 24.5 kB / 0.8242 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.5717, allocations: 249 kB / 0.8244 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.5719, allocations: 123.7 kB / 0.8246 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.572, allocations: 119.5 kB / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009149/0.573, allocations: 0.4904 MB / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.573, allocations: 0 / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.775e-06/0.573, allocations: 0 / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.573, allocations: 0 / 0.8252 GB, free: 12.73 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.001166/0.5741, allocations: 0.5291 MB / 0.8257 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/0.5742, allocations: 14.19 kB / 0.8257 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.925e-05/0.5743, allocations: 67.8 kB / 0.8258 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/0.575, allocations: 115.7 kB / 0.8259 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.5753, allocations: 221.1 kB / 0.8261 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.5753, allocations: 19.91 kB / 0.8261 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.5755, allocations: 38.42 kB / 0.8261 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.5761, allocations: 0.5217 MB / 0.8266 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5761, allocations: 1.094 kB / 0.8266 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.5762, allocations: 11.23 kB / 0.8266 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.5763, allocations: 44.33 kB / 0.8267 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.5769, allocations: 363.8 kB / 0.827 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.579, allocations: 1.649 MB / 0.8286 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.5794, allocations: 244.4 kB / 0.8289 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.5796, allocations: 140.1 kB / 0.829 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.5796, allocations: 11.36 kB / 0.829 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.5796, allocations: 37.47 kB / 0.8291 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.285e-06/0.5796, allocations: 0 / 0.8291 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001668/0.5813, allocations: 0.8948 MB / 0.8299 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.5813, allocations: 59 kB / 0.83 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.5817, allocations: 270.5 kB / 0.8302 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.5817, allocations: 31.39 kB / 0.8303 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.5818, allocations: 191.1 kB / 0.8305 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.5819, allocations: 94.45 kB / 0.8306 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.582, allocations: 78.03 kB / 0.8306 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5821, allocations: 332.7 kB / 0.8309 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.5823, allocations: 160.5 kB / 0.8311 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.5826, allocations: 237.4 kB / 0.8313 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.583, allocations: 406.5 kB / 0.8317 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.583, allocations: 7.938 kB / 0.8317 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008821/0.5839, allocations: 0.5944 MB / 0.8323 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.5839, allocations: 11.7 kB / 0.8323 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5839, allocations: 2.781 kB / 0.8323 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/0.5844, allocations: 188 kB / 0.8325 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.5846, allocations: 61.61 kB / 0.8326 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.5869, allocations: 2.365 MB / 0.8349 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.5872, allocations: 27.48 kB / 0.8349 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.5872, allocations: 11.42 kB / 0.8349 GB, free: 6.438 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.0001952/0.5874, allocations: 168.4 kB / 0.8351 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.5874, allocations: 27.17 kB / 0.8351 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004709/0.5879, allocations: 353 kB / 0.8354 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.5879, allocations: 6.922 kB / 0.8354 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5879, allocations: 7.938 kB / 0.8354 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5879, allocations: 2.469 kB / 0.8354 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009504/0.5889, allocations: 0.7485 MB / 0.8362 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5889, allocations: 1.156 kB / 0.8362 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.5891, allocations: 78.02 kB / 0.8362 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5891, allocations: 2.188 kB / 0.8362 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.5891, allocations: 12.08 kB / 0.8363 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5891, allocations: 2.094 kB / 0.8363 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5891, allocations: 1.219 kB / 0.8363 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.5897, allocations: 0.6203 MB / 0.8369 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.5898, allocations: 49.7 kB / 0.8369 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.5899, allocations: 8.016 kB / 0.8369 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.59, allocations: 14.52 kB / 0.8369 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.59, allocations: 20.86 kB / 0.837 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.59, allocations: 6.562 kB / 0.837 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001718/0.5902, allocations: 194.9 kB / 0.8371 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5902, allocations: 1.25 kB / 0.8371 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004338/0.5906, allocations: 85.25 kB / 0.8372 GB, free: 5.145 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.0009566/0.5916, allocations: 1.163 MB / 0.8384 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008164/0.5924, allocations: 0.5108 MB / 0.8389 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5924, allocations: 0 / 0.8389 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.5926, allocations: 139.1 kB / 0.839 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.5929, allocations: 53.22 kB / 0.839 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.5971, allocations: 3.699 MB / 0.8427 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.5973, allocations: 182.8 kB / 0.8428 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.5975, allocations: 86.86 kB / 0.8429 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.5976, allocations: 82.34 kB / 0.843 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/0.5976, allocations: 0 / 0.843 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.6217, allocations: 7.636 MB / 0.8505 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.66, allocations: 7.734 kB / 0.8505 GB, free: 13.37 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.59494204306975] Failed to read output from testmodel.py, exit status != 0: 7.743315062019974 7.755684588 7.179747903 Calling exit ...