Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008572/0.0008572, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008237/0.0008237, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8768/0.8768, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00139/0.00139, allocations: 237.5 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6647/0.6647, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.6462 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.46e-05, allocations: 14.16 kB / 0.6462 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.2357/0.2357, allocations: 2.298 MB / 0.6485 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.237, allocations: 0.8147 MB / 0.6493 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.2371, allocations: 4.125 kB / 0.6493 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.2376, allocations: 147.7 kB / 0.6494 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.2378, allocations: 69.06 kB / 0.6495 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.238, allocations: 64.72 kB / 0.6496 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.2383, allocations: 164.8 kB / 0.6497 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.2385, allocations: 81.23 kB / 0.6498 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.2387, allocations: 99.25 kB / 0.6499 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.2389, allocations: 60.36 kB / 0.6499 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.2389, allocations: 11.81 kB / 0.65 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.239, allocations: 53.67 kB / 0.65 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.2391, allocations: 41.84 kB / 0.65 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.2391, allocations: 40.67 kB / 0.6501 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.2394, allocations: 185.4 kB / 0.6503 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2394, allocations: 1.656 kB / 0.6503 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2394, allocations: 0.75 kB / 0.6503 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2394, allocations: 0 / 0.6503 GB, free: 55.59 MB / 0.5573 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.0005897/0.24, allocations: 426.1 kB / 0.6507 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.24, allocations: 11.16 kB / 0.6507 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.2401, allocations: 41.08 kB / 0.6507 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.2403, allocations: 40.05 kB / 0.6508 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.2404, allocations: 157.2 kB / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.2405, allocations: 62.16 kB / 0.651 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.2405, allocations: 18.3 kB / 0.651 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.2407, allocations: 177.3 kB / 0.6512 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2407, allocations: 0 / 0.6512 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2408, allocations: 5.859 kB / 0.6512 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.2408, allocations: 6.656 kB / 0.6512 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.2409, allocations: 114.1 kB / 0.6513 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.2415, allocations: 0.5921 MB / 0.6519 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.2416, allocations: 83.77 kB / 0.6519 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.2417, allocations: 53.84 kB / 0.652 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2417, allocations: 6.062 kB / 0.652 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.2418, allocations: 174.8 kB / 0.6522 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.2418, allocations: 0.6562 kB / 0.6522 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0002684/0.2421, allocations: 230.5 kB / 0.6524 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.2422, allocations: 137.9 kB / 0.6525 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2423, allocations: 182.7 kB / 0.6527 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.2423, allocations: 28.89 kB / 0.6527 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.2423, allocations: 143.5 kB / 0.6528 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.2423, allocations: 25.91 kB / 0.6529 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.2424, allocations: 38.55 kB / 0.6529 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.2424, allocations: 328.8 kB / 0.6532 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.2425, allocations: 90.83 kB / 0.6533 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.2426, allocations: 174.6 kB / 0.6535 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2427, allocations: 231.7 kB / 0.6537 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2427, allocations: 0.9688 kB / 0.6537 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002283/0.2429, allocations: 297.3 kB / 0.654 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.243, allocations: 65.75 kB / 0.654 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.243, allocations: 10.19 kB / 0.6541 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.243, allocations: 3.656 kB / 0.6541 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.2431, allocations: 30.03 kB / 0.6541 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2431, allocations: 4.797 kB / 0.6541 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.2432, allocations: 34.16 kB / 0.6541 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2432, allocations: 7.125 kB / 0.6541 GB, free: 52.42 MB / 0.5573 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 7.907e-05/0.2433, allocations: 172.9 kB / 0.6543 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.2433, allocations: 11.48 kB / 0.6543 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.2433, allocations: 20.02 kB / 0.6543 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2433, allocations: 0 / 0.6543 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2433, allocations: 1.562 kB / 0.6543 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2433, allocations: 0.5156 kB / 0.6543 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.2434, allocations: 177.8 kB / 0.6545 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2434, allocations: 1.375 kB / 0.6545 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.2435, allocations: 12.09 kB / 0.6545 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2435, allocations: 2.453 kB / 0.6545 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2435, allocations: 11.02 kB / 0.6545 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2435, allocations: 3.938 kB / 0.6545 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2435, allocations: 2.625 kB / 0.6545 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.2437, allocations: 282.2 kB / 0.6548 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.2437, allocations: 12.77 kB / 0.6548 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.2438, allocations: 5.969 kB / 0.6548 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.53e-05/0.2438, allocations: 10.28 kB / 0.6548 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.2439, allocations: 11.23 kB / 0.6548 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2439, allocations: 5.203 kB / 0.6548 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.2439, allocations: 136.6 kB / 0.655 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2439, allocations: 0 / 0.655 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001819/0.2441, allocations: 29.75 kB / 0.655 GB, free: 51.73 MB / 0.5573 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.0003399/0.2445, allocations: 0.8153 MB / 0.6558 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.2447, allocations: 306.5 kB / 0.6561 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2447, allocations: 0 / 0.6561 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.384e-05/0.2447, allocations: 119.4 kB / 0.6562 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2449, allocations: 18.22 kB / 0.6562 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2464, allocations: 2.215 MB / 0.6584 GB, free: 48.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.529e-05/0.2464, allocations: 110.8 kB / 0.6585 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.391e-05/0.2465, allocations: 19.11 kB / 0.6585 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.2465, allocations: 37.42 kB / 0.6585 GB, free: 48.64 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.2465, allocations: 1.844 kB / 0.6585 GB, free: 48.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.2656, allocations: 3.93 MB / 0.6624 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/7.075, allocations: 2.406 kB / 0.6624 GB, free: 47.64 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.573833806440234] Failed to read output from testmodel.py, exit status != 0: 7.156815382651985 7.163470272 6.922398033 Calling exit ...