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: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.957/1.957, allocations: 288.3 MB / 303.2 MB, free: 8.09 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.002121/0.00212, allocations: 188 kB / 371.9 MB, free: 10.32 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.577/1.577, allocations: 205.4 MB / 0.6306 GB, free: 10.07 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.0009079/0.0009075, allocations: 98.84 kB / 0.7439 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004964, allocations: 11.53 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2511, allocations: 115.3 MB / 0.9794 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002695/0.2539, allocations: 1.929 MB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2551, allocations: 0.7803 MB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2553, allocations: 4 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.2555, allocations: 11.92 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.2558, allocations: 51.78 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.256, allocations: 39.89 kB / 0.9821 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.2562, allocations: 87.81 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.2565, allocations: 193.8 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.2566, allocations: 55.77 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.2568, allocations: 43.78 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2568, allocations: 8 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.2569, allocations: 27.92 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.257, allocations: 31.89 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.257, allocations: 45.64 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.2572, allocations: 123.9 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.2572, allocations: 0 / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2572, allocations: 0 / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2572, allocations: 8 kB / 0.9827 GB, free: 24.29 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.0006774/0.2579, allocations: 462.5 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.258, allocations: 8.031 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.2582, allocations: 35.75 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.2585, allocations: 211.3 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.2586, allocations: 37.89 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2586, allocations: 16 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.2589, allocations: 148.9 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2589, allocations: 0 / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2589, allocations: 7.953 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.2589, allocations: 4.188 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.2591, allocations: 92.45 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.2599, allocations: 0.6334 MB / 0.9843 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.2601, allocations: 66.55 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2602, allocations: 3.938 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.2603, allocations: 146.9 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.2603, allocations: 0 / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003684/0.2607, allocations: 244.3 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.2608, allocations: 136.5 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2609, allocations: 182.2 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.261, allocations: 29.7 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.261, allocations: 147.7 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.2611, allocations: 19.72 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.2611, allocations: 7.938 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.2611, allocations: 326.8 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.2612, allocations: 35.97 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2613, allocations: 114 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.2615, allocations: 107.3 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2615, allocations: 4 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002865/0.2618, allocations: 240.7 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.2618, allocations: 63.39 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2618, allocations: 8.266 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2618, allocations: 8 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.262, allocations: 27.98 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.262, allocations: 3.938 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2621, allocations: 35.78 kB / 0.9862 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2621, allocations: 11.98 kB / 0.9862 GB, free: 20.34 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 0.0001034/0.2622, allocations: 166 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.2623, allocations: 15.91 kB / 0.9864 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.2623, allocations: 17.34 kB / 0.9864 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2623, allocations: 3.953 kB / 0.9864 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2623, allocations: 4 kB / 0.9864 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2623, allocations: 3.984 kB / 0.9864 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2625, allocations: 205.6 kB / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2625, allocations: 0 / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.627e-05/0.2626, allocations: 11.98 kB / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2626, allocations: 0 / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2626, allocations: 4 kB / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2626, allocations: 7.938 kB / 0.9866 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2626, allocations: 3.953 kB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.2629, allocations: 222.6 kB / 0.9869 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.263, allocations: 85.02 kB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.263, allocations: 8.016 kB / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.2631, allocations: 16.06 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.2632, allocations: 15.88 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2632, allocations: 7.938 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.328e-05/0.2633, allocations: 140.3 kB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2633, allocations: 0 / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002296/0.2635, allocations: 31.91 kB / 0.9871 GB, free: 19.29 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 9.359e-05/0.2636, allocations: 99.25 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.2639, allocations: 226.6 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2639, allocations: 0 / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.934e-05/0.264, allocations: 103.4 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.2642, allocations: 18.33 kB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.2647, allocations: 341.9 kB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2649, allocations: 0.7197 MB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.005e-05/0.265, allocations: 24.62 kB / 0.9886 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.265, allocations: 11.44 kB / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.265, allocations: 0 / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.003503/0.2685, allocations: 1.2 MB / 0.9898 GB, free: 16.48 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)