Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.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.0007851/0.0007851, allocations: 72.5 kB / 19.92 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.000956/0.000956, allocations: 173.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.8821/0.8821, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5551/0.5551, allocations: 114 MB / 373.9 MB, free: 8.695 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.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5541 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.029e-05, allocations: 6 kB / 0.5541 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002792/0.002812, allocations: 2.288 MB / 0.5564 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009942/0.003806, allocations: 0.818 MB / 0.5572 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.003896, allocations: 7.938 kB / 0.5572 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.004361, allocations: 147.3 kB / 0.5573 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.004511, allocations: 71.53 kB / 0.5574 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.004641, allocations: 55.81 kB / 0.5574 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.004828, allocations: 171.4 kB / 0.5576 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.005048, allocations: 80.12 kB / 0.5577 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.0052, allocations: 103.7 kB / 0.5578 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.005332, allocations: 55.84 kB / 0.5578 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.005354, allocations: 12 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.005455, allocations: 55.89 kB / 0.5579 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.005512, allocations: 39.83 kB / 0.5579 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.005566, allocations: 43.92 kB / 0.558 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.005771, allocations: 187.3 kB / 0.5582 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005773, allocations: 0 / 0.5582 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.262e-06/0.005775, allocations: 0 / 0.5582 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.005779, allocations: 0 / 0.5582 GB, free: 14.72 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005431/0.006322, allocations: 429.2 kB / 0.5586 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.006361, allocations: 8.625 kB / 0.5586 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.006404, allocations: 42.73 kB / 0.5586 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.006582, allocations: 44.81 kB / 0.5587 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.006771, allocations: 152.8 kB / 0.5588 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.00683, allocations: 60.16 kB / 0.5589 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.006855, allocations: 20.08 kB / 0.5589 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.007085, allocations: 177.8 kB / 0.5591 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.007094, allocations: 0 / 0.5591 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.00711, allocations: 11.98 kB / 0.5591 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.007126, allocations: 4 kB / 0.5591 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.007257, allocations: 109.6 kB / 0.5592 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.007843, allocations: 0.5889 MB / 0.5597 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.008029, allocations: 80.31 kB / 0.5598 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.008082, allocations: 58.55 kB / 0.5599 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.008096, allocations: 3.938 kB / 0.5599 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004406/0.008536, allocations: 180.4 kB / 0.5601 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.008538, allocations: 0 / 0.5601 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002776/0.008815, allocations: 226.8 kB / 0.5603 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.008875, allocations: 140.5 kB / 0.5604 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.008995, allocations: 190.6 kB / 0.5606 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.009009, allocations: 29.7 kB / 0.5606 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.009076, allocations: 136 kB / 0.5607 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.009097, allocations: 35.66 kB / 0.5608 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.00914, allocations: 37.67 kB / 0.5608 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.009226, allocations: 326.8 kB / 0.5611 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.009304, allocations: 91.39 kB / 0.5612 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.009406, allocations: 172.8 kB / 0.5614 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.009559, allocations: 226.4 kB / 0.5616 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.009561, allocations: 4 kB / 0.5616 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002442/0.009806, allocations: 308.1 kB / 0.5619 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.009853, allocations: 67.33 kB / 0.562 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.009861, allocations: 3.938 kB / 0.562 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.009879, allocations: 4 kB / 0.562 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.009987, allocations: 32.3 kB / 0.562 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.009996, allocations: 7.938 kB / 0.562 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.01008, allocations: 27.88 kB / 0.562 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01009, allocations: 8 kB / 0.562 GB, free: 10.27 MB / 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: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 0.000112/0.0102, allocations: 159.5 kB / 0.5622 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.01022, allocations: 11.95 kB / 0.5622 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.01025, allocations: 17.41 kB / 0.5622 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01025, allocations: 0 / 0.5622 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01026, allocations: 0 / 0.5622 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01026, allocations: 15.92 kB / 0.5622 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.01038, allocations: 172.7 kB / 0.5624 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01038, allocations: 0 / 0.5624 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.01044, allocations: 15.92 kB / 0.5624 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01044, allocations: 0 / 0.5624 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01045, allocations: 11.94 kB / 0.5624 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.01045, allocations: 0 / 0.5624 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.01046, allocations: 0 / 0.5624 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.01074, allocations: 274.4 kB / 0.5627 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.01076, allocations: 12 kB / 0.5627 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01078, allocations: 11.94 kB / 0.5627 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.01082, allocations: 15.98 kB / 0.5627 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.01087, allocations: 4 kB / 0.5627 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.01088, allocations: 7.922 kB / 0.5627 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.393e-05/0.01095, allocations: 135.2 kB / 0.5629 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01095, allocations: 0 / 0.5629 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001629/0.01111, allocations: 31.89 kB / 0.5629 GB, free: 9.289 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0004419/0.01155, allocations: 0.8184 MB / 0.5637 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.01179, allocations: 299.7 kB / 0.564 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01179, allocations: 0 / 0.564 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.01187, allocations: 121.1 kB / 0.5641 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01205, allocations: 15.98 kB / 0.5641 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.01375, allocations: 2.222 MB / 0.5663 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.871e-05/0.01382, allocations: 106.8 kB / 0.5664 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.686e-05/0.01387, allocations: 20.64 kB / 0.5664 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.01393, allocations: 36.48 kB / 0.5664 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of SimCode: time 7.32e-07/0.01393, allocations: 0 / 0.5664 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.03431, allocations: 3.894 MB / 0.5702 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.21, allocations: 16.47 kB / 0.5703 GB, free: 1.598 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.729866835288703] Failed to read output from testmodel.py, exit status != 0: 7.293446536175907 7.302547684 7.295047083 Calling exit ...