Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.521/1.521, allocations: 288.4 MB / 303.6 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008481/0.0008481, allocations: 179 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007131/0.0007131, allocations: 94.36 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 11.62 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1586, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.001805/0.1604, allocations: 1.941 MB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008373/0.1613, allocations: 0.7881 MB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.1613, allocations: 3.938 kB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.896e-05/0.1614, allocations: 15.86 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.1616, allocations: 59.73 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.1617, allocations: 43.88 kB / 0.983 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1619, allocations: 163.4 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.1621, allocations: 193.9 kB / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.1622, allocations: 59.77 kB / 0.9834 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.1623, allocations: 59.75 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1623, allocations: 4 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.768e-05/0.1624, allocations: 63.8 kB / 0.9835 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.1625, allocations: 31.91 kB / 0.9835 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.1625, allocations: 81.38 kB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.1627, allocations: 131.6 kB / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1627, allocations: 4 kB / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1627, allocations: 0 / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1627, allocations: 4 kB / 0.9837 GB, free: 23.56 MB / 0.6198 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.0004697/0.1632, allocations: 459.9 kB / 0.9842 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1632, allocations: 8.031 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.1632, allocations: 46.73 kB / 0.9842 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.1634, allocations: 36.66 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1636, allocations: 216 kB / 0.9845 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.1636, allocations: 34.45 kB / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1637, allocations: 15.94 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.1639, allocations: 155.2 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1639, allocations: 0 / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1639, allocations: 4 kB / 0.9847 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.164, allocations: 4 kB / 0.9847 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1641, allocations: 91.89 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.1647, allocations: 0.648 MB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1649, allocations: 58.48 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.165, allocations: 32.91 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.165, allocations: 0 / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.1652, allocations: 147 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1652, allocations: 0 / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002733/0.1655, allocations: 163.2 kB / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1655, allocations: 144.4 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1656, allocations: 186.2 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1656, allocations: 29.7 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.1657, allocations: 135.8 kB / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1657, allocations: 19.8 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.1657, allocations: 0 / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.863e-05/0.1658, allocations: 326.8 kB / 0.9866 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-05/0.1659, allocations: 35.89 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.915e-05/0.166, allocations: 119.6 kB / 0.9867 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1661, allocations: 238.3 kB / 0.9869 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1661, allocations: 0 / 0.9869 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002735/0.1664, allocations: 241 kB / 0.9872 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.1665, allocations: 67.38 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1665, allocations: 4.047 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1665, allocations: 7.984 kB / 0.9872 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1666, allocations: 27.98 kB / 0.9873 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1666, allocations: 7.922 kB / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.1667, allocations: 31.78 kB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1668, allocations: 8 kB / 0.9873 GB, free: 19.46 MB / 0.6198 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 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.1668, allocations: 170.5 kB / 0.9875 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.1669, allocations: 19.75 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.1669, allocations: 17.39 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1669, allocations: 0 / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1669, allocations: 0 / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1669, allocations: 7.938 kB / 0.9875 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.167, allocations: 213.6 kB / 0.9877 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.167, allocations: 0 / 0.9877 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.1671, allocations: 8 kB / 0.9877 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1671, allocations: 11.92 kB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1671, allocations: 4 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1671, allocations: 4 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1671, allocations: 0 / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1674, allocations: 218.6 kB / 0.988 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.1675, allocations: 89.08 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1675, allocations: 7.969 kB / 0.9881 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.1676, allocations: 11.98 kB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1676, allocations: 11.98 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.1676, allocations: 4 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.931e-05/0.1677, allocations: 136.3 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1677, allocations: 3.938 kB / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002079/0.1679, allocations: 31.91 kB / 0.9882 GB, free: 18.41 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003985/0.1683, allocations: 0.7585 MB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1686, allocations: 222.7 kB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1686, allocations: 0 / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.974e-05/0.1687, allocations: 107.4 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.1688, allocations: 12 kB / 0.9893 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/0.1698, allocations: 0.9405 MB / 0.9902 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.17, allocations: 0.7121 MB / 0.9909 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.769e-05/0.17, allocations: 24.62 kB / 0.9909 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.1701, allocations: 35.42 kB / 0.991 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.1701, allocations: 0 / 0.991 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3464/0.5165, allocations: 2.726 MB / 0.9936 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.5167, allocations: 193.2 kB / 0.9938 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.37, allocations: 0 / 0.9938 GB, free: 12.64 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)