Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.000923/0.000923, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009756/0.0009756, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.9079/0.9079, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5434/0.5434, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.232e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003017/0.003029, allocations: 3.185 MB / 0.5573 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.005321, allocations: 1.971 MB / 0.5592 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.005437, allocations: 11.94 kB / 0.5592 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.006015, allocations: 282.8 kB / 0.5595 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.006392, allocations: 246.6 kB / 0.5597 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.006851, allocations: 298.5 kB / 0.56 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.007177, allocations: 426.5 kB / 0.5604 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.007428, allocations: 164.2 kB / 0.5606 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.007665, allocations: 219.5 kB / 0.5608 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.007898, allocations: 187.5 kB / 0.561 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.007927, allocations: 24 kB / 0.561 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.008181, allocations: 255.3 kB / 0.5613 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.023e-05/0.008271, allocations: 123.7 kB / 0.5614 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.008348, allocations: 107.7 kB / 0.5615 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.008755, allocations: 0.5063 MB / 0.562 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.008757, allocations: 4 kB / 0.562 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.61e-07/0.008758, allocations: 0 / 0.562 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.008763, allocations: 3.938 kB / 0.562 GB, free: 10.79 MB / 0.5261 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.0006614/0.009424, allocations: 0.5258 MB / 0.5625 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.00946, allocations: 8.625 kB / 0.5625 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.009514, allocations: 70.7 kB / 0.5626 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005068/0.01002, allocations: 120.6 kB / 0.5627 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.01027, allocations: 222 kB / 0.5629 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.01028, allocations: 12.88 kB / 0.5629 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.01037, allocations: 40.72 kB / 0.5629 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.01086, allocations: 0.5186 MB / 0.5634 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.01087, allocations: 7.938 kB / 0.5635 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.0109, allocations: 12 kB / 0.5635 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.837e-05/0.01098, allocations: 44.41 kB / 0.5635 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.01136, allocations: 357.7 kB / 0.5638 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.01303, allocations: 1.644 MB / 0.5655 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.01331, allocations: 247 kB / 0.5657 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.01345, allocations: 136.8 kB / 0.5658 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.01347, allocations: 4 kB / 0.5658 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.01349, allocations: 38.56 kB / 0.5659 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.01349, allocations: 0 / 0.5659 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.00114/0.01463, allocations: 0.9066 MB / 0.5667 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.01466, allocations: 55.39 kB / 0.5668 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.01485, allocations: 265.6 kB / 0.5671 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01487, allocations: 29.7 kB / 0.5671 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.01495, allocations: 192.3 kB / 0.5673 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.01499, allocations: 95.22 kB / 0.5674 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.01508, allocations: 77.61 kB / 0.5674 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.01515, allocations: 334.8 kB / 0.5677 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.01532, allocations: 151.9 kB / 0.5679 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.01554, allocations: 238.3 kB / 0.5681 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.01592, allocations: 414.8 kB / 0.5685 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01592, allocations: 0 / 0.5685 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007214/0.01664, allocations: 0.601 MB / 0.5691 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01665, allocations: 8 kB / 0.5691 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01666, allocations: 0 / 0.5691 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/0.01703, allocations: 196.4 kB / 0.5693 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.0172, allocations: 59.89 kB / 0.5694 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.01899, allocations: 2.37 MB / 0.5717 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.01916, allocations: 19.98 kB / 0.5717 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.01918, allocations: 15.98 kB / 0.5717 GB, free: 344 kB / 0.5261 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.0003461/0.01953, allocations: 165.7 kB / 0.5719 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.01956, allocations: 31.8 kB / 0.5719 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.01991, allocations: 358.9 kB / 0.5722 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01992, allocations: 0 / 0.5722 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01992, allocations: 0 / 0.5722 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01992, allocations: 4.062 kB / 0.5722 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.02059, allocations: 0.7643 MB / 0.573 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.02059, allocations: 0 / 0.573 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.02079, allocations: 75.88 kB / 0.5731 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.0208, allocations: 0 / 0.5731 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.02081, allocations: 8 kB / 0.5731 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02081, allocations: 0 / 0.5731 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.02081, allocations: 4 kB / 0.5731 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.02131, allocations: 0.6165 MB / 0.5737 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.02139, allocations: 59.89 kB / 0.5737 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.02141, allocations: 4 kB / 0.5737 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.02153, allocations: 15.98 kB / 0.5737 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.02156, allocations: 15.97 kB / 0.5738 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.02157, allocations: 8 kB / 0.5738 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001313/0.0217, allocations: 185.2 kB / 0.5739 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.0217, allocations: 4 kB / 0.574 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000255/0.02195, allocations: 95.88 kB / 0.574 GB, free: 13.86 MB / 0.5417 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.0006742/0.02263, allocations: 1.15 MB / 0.5752 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.0232, allocations: 0.5142 MB / 0.5757 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0232, allocations: 128 / 0.5757 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.02334, allocations: 143.9 kB / 0.5758 GB, free: 12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.02362, allocations: 60.05 kB / 0.5759 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.02701, allocations: 3.617 MB / 0.5794 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.02713, allocations: 190.4 kB / 0.5796 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.02727, allocations: 78.91 kB / 0.5797 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.02738, allocations: 80.47 kB / 0.5797 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of SimCode: time 6.21e-07/0.02738, allocations: 0 / 0.5797 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.05132, allocations: 7.78 MB / 0.5873 GB, free: 244 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.29, allocations: 13.25 kB / 0.5873 GB, free: 240 kB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.884434760548174] Failed to read output from testmodel.py, exit status != 0: 7.373792481608689 7.383827457 7.373279186 Calling exit ...