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.0007869/0.0007869, 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.0008136/0.0008136, 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.8588/0.8588, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.545/0.545, 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.954e-06/1.954e-06, allocations: 0 / 0.5541 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.459e-05, allocations: 2.281 kB / 0.5541 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003319/0.003343, allocations: 2.279 MB / 0.5564 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.004348, allocations: 0.8258 MB / 0.5572 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.004432, allocations: 0 / 0.5572 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.004922, allocations: 147.3 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.005085, allocations: 75.47 kB / 0.5574 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.005247, allocations: 59.8 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.005442, allocations: 163.4 kB / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.00565, allocations: 85.05 kB / 0.5577 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.005818, allocations: 103.7 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.005954, allocations: 59.8 kB / 0.5578 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.005975, allocations: 12 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.006071, allocations: 43.95 kB / 0.5579 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.006118, allocations: 39.84 kB / 0.5579 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.006173, allocations: 51.89 kB / 0.558 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.006447, allocations: 187.3 kB / 0.5582 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.00645, allocations: 0 / 0.5582 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.834e-06/0.006452, allocations: 0 / 0.5582 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.006456, allocations: 0 / 0.5582 GB, free: 14.68 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.0005554/0.007011, allocations: 421.2 kB / 0.5586 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.007053, allocations: 16.62 kB / 0.5586 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.007089, allocations: 42.73 kB / 0.5586 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.007277, allocations: 32.83 kB / 0.5586 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.007481, allocations: 155.1 kB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.007535, allocations: 60.16 kB / 0.5589 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.007563, allocations: 32 kB / 0.5589 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.007796, allocations: 173.8 kB / 0.559 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.007805, allocations: 0 / 0.559 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.007818, allocations: 4 kB / 0.5591 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.007836, allocations: 8 kB / 0.5591 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.007978, allocations: 124.1 kB / 0.5592 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.008596, allocations: 0.5811 MB / 0.5597 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.008907, allocations: 80.27 kB / 0.5598 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.00896, allocations: 58.55 kB / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.008973, allocations: 0 / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.009127, allocations: 187.5 kB / 0.5601 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.009128, allocations: 0 / 0.5601 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002642/0.009392, allocations: 230.8 kB / 0.5603 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.009444, allocations: 136.5 kB / 0.5604 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.009563, allocations: 194.6 kB / 0.5606 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.009575, allocations: 25.7 kB / 0.5606 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.009641, allocations: 144 kB / 0.5608 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.00966, allocations: 23.8 kB / 0.5608 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.009709, allocations: 41.66 kB / 0.5608 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.009786, allocations: 326.8 kB / 0.5611 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.009858, allocations: 95.38 kB / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.009958, allocations: 164.8 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.01011, allocations: 230.4 kB / 0.5616 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01011, allocations: 4 kB / 0.5616 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002332/0.01034, allocations: 304.1 kB / 0.5619 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.01038, allocations: 59.72 kB / 0.5619 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01039, allocations: 11.94 kB / 0.562 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.0104, allocations: 4 kB / 0.562 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.01048, allocations: 31.92 kB / 0.562 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.01048, allocations: 3.984 kB / 0.562 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.01056, allocations: 23.89 kB / 0.562 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01057, allocations: 8 kB / 0.562 GB, free: 10.24 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 9.071e-05/0.01066, allocations: 167.5 kB / 0.5622 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.01067, allocations: 11.95 kB / 0.5622 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.0107, allocations: 25.39 kB / 0.5622 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.0107, allocations: 3.938 kB / 0.5622 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.0107, allocations: 0 / 0.5622 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01071, allocations: 0 / 0.5622 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.01082, allocations: 184.6 kB / 0.5624 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.01082, allocations: 0 / 0.5624 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.01087, allocations: 8 kB / 0.5624 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01087, allocations: 0 / 0.5624 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01088, allocations: 3.938 kB / 0.5624 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.01089, allocations: 11.92 kB / 0.5624 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01089, allocations: 0 / 0.5624 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.01116, allocations: 278.4 kB / 0.5627 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.01117, allocations: 15.94 kB / 0.5627 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.01119, allocations: 11.92 kB / 0.5627 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.01124, allocations: 8 kB / 0.5627 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.01129, allocations: 7.984 kB / 0.5627 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.01129, allocations: 4 kB / 0.5627 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.285e-05/0.01137, allocations: 131.2 kB / 0.5629 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01137, allocations: 0 / 0.5629 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001687/0.01154, allocations: 39.89 kB / 0.5629 GB, free: 9.25 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.0006807/0.01222, allocations: 0.8106 MB / 0.5637 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.01245, allocations: 303.7 kB / 0.564 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01245, allocations: 0 / 0.564 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/0.01252, allocations: 117.1 kB / 0.5641 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.0127, allocations: 20.67 kB / 0.5641 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.01421, allocations: 2.218 MB / 0.5663 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.597e-05/0.01427, allocations: 106.8 kB / 0.5664 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.483e-05/0.01433, allocations: 16.86 kB / 0.5664 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.01438, allocations: 44.59 kB / 0.5664 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/0.01438, allocations: 3.938 kB / 0.5664 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.03257, allocations: 3.897 MB / 0.5702 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.02, allocations: 12.97 kB / 0.5703 GB, free: 1.562 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.437330686487257] Failed to read output from testmodel.py, exit status != 0: 7.103903074748814 7.113953031 7.105329078 Calling exit ...