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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002401/0.002401, allocations: 289.3 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.202/1.202, allocations: 180.9 MB / 0.5261 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002737/0.002737, allocations: 105.4 kB / 0.7247 GB, free: 39.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1533, allocations: 94.15 MB / 0.8167 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003789/0.1571, allocations: 2.326 MB / 0.819 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1584, allocations: 0.7871 MB / 0.8197 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.74e-05/0.1585, allocations: 7.938 kB / 0.8197 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.1591, allocations: 151.3 kB / 0.8199 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1592, allocations: 63.61 kB / 0.8199 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.1594, allocations: 51.88 kB / 0.82 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.1596, allocations: 159.5 kB / 0.8201 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.1598, allocations: 89.03 kB / 0.8202 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.16, allocations: 63.77 kB / 0.8203 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1601, allocations: 71.67 kB / 0.8203 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1601, allocations: 12 kB / 0.8204 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1603, allocations: 55.89 kB / 0.8204 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.1603, allocations: 35.91 kB / 0.8204 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.1604, allocations: 71.59 kB / 0.8205 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1607, allocations: 175.5 kB / 0.8207 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1607, allocations: 4 kB / 0.8207 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1607, allocations: 0 / 0.8207 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.1607, allocations: 0 / 0.8207 GB, free: 1.395 MB / 0.5606 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.000799/0.1615, allocations: 490.4 kB / 0.8212 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1615, allocations: 8.031 kB / 0.8212 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.1616, allocations: 42.73 kB / 0.8212 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.1618, allocations: 28.84 kB / 0.8212 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.162, allocations: 224 kB / 0.8214 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.1621, allocations: 38.45 kB / 0.8215 GB, free: 480 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.1621, allocations: 19.88 kB / 0.8215 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.1625, allocations: 146.6 kB / 0.8216 GB, free: 300 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1625, allocations: 3.938 kB / 0.8216 GB, free: 296 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1625, allocations: 0 / 0.8216 GB, free: 296 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.1625, allocations: 8 kB / 0.8217 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.1627, allocations: 96.81 kB / 0.8217 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.1636, allocations: 0.6287 MB / 0.8224 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.1639, allocations: 62.5 kB / 0.8224 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.068e-05/0.1639, allocations: 24.91 kB / 0.8224 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.164, allocations: 0 / 0.8224 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.1642, allocations: 150.8 kB / 0.8226 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1642, allocations: 0 / 0.8226 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003827/0.1646, allocations: 163.1 kB / 0.8227 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/0.1647, allocations: 140.5 kB / 0.8229 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1648, allocations: 183.2 kB / 0.8231 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1649, allocations: 29.7 kB / 0.8231 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.165, allocations: 144 kB / 0.8232 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.165, allocations: 23.8 kB / 0.8232 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.1651, allocations: 33.7 kB / 0.8233 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1652, allocations: 326.8 kB / 0.8236 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.547e-05/0.1653, allocations: 43.97 kB / 0.8236 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1654, allocations: 104 kB / 0.8237 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.1657, allocations: 242.3 kB / 0.824 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1657, allocations: 0 / 0.824 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003686/0.1661, allocations: 240.7 kB / 0.8242 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.1661, allocations: 67.33 kB / 0.8242 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1661, allocations: 4.312 kB / 0.8243 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1662, allocations: 8 kB / 0.8243 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1663, allocations: 35.92 kB / 0.8243 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1663, allocations: 4 kB / 0.8243 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1664, allocations: 23.83 kB / 0.8243 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1664, allocations: 8 kB / 0.8243 GB, free: 13.24 MB / 0.5762 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.0001407/0.1666, allocations: 171.4 kB / 0.8245 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1666, allocations: 19.83 kB / 0.8245 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.1666, allocations: 17.41 kB / 0.8245 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1666, allocations: 0 / 0.8245 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1666, allocations: 0 / 0.8245 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1666, allocations: 0 / 0.8245 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.1668, allocations: 209.6 kB / 0.8247 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1668, allocations: 0 / 0.8247 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.1669, allocations: 11.98 kB / 0.8247 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.1669, allocations: 7.938 kB / 0.8247 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1669, allocations: 4 kB / 0.8248 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.167, allocations: 0 / 0.8248 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.167, allocations: 4 kB / 0.8248 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.1674, allocations: 218.6 kB / 0.825 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.1674, allocations: 85.02 kB / 0.825 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.1675, allocations: 11.95 kB / 0.8251 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.1675, allocations: 8.094 kB / 0.8251 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.1676, allocations: 15.97 kB / 0.8251 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1676, allocations: 4.062 kB / 0.8251 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001158/0.1677, allocations: 135.2 kB / 0.8252 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1677, allocations: 0 / 0.8252 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002459/0.168, allocations: 31.94 kB / 0.8252 GB, free: 12.2 MB / 0.5762 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.0007262/0.1687, allocations: 0.7508 MB / 0.826 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.169, allocations: 210.6 kB / 0.8262 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.169, allocations: 0 / 0.8262 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1691, allocations: 95.31 kB / 0.8263 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.1694, allocations: 19.94 kB / 0.8263 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.1717, allocations: 1.971 MB / 0.8282 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1721, allocations: 0.712 MB / 0.8289 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.508e-05/0.1722, allocations: 28.56 kB / 0.8289 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.1722, allocations: 39.42 kB / 0.829 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1722, allocations: 0 / 0.829 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.2043, allocations: 3.152 MB / 0.832 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.899, allocations: 12.3 kB / 0.8321 GB, free: 5.094 MB / 0.5762 GB " [Timeout remaining time 652] (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: 11.78164846682921] Failed to read output from testmodel.py, exit status != 0: 7.968564077746123 7.991257645 7.826503966 Calling exit ...