Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.676/1.676, allocations: 287.5 MB / 302.6 MB, free: 8.277 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.001031/0.001032, allocations: 184.9 kB / 371.2 MB, free: 10.81 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.739/1.739, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007675/0.0007674, allocations: 102.7 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004085, allocations: 10.98 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002525/0.2319, allocations: 1.948 MB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.233, allocations: 0.7766 MB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.2331, allocations: 4 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.2332, allocations: 15.86 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.2335, allocations: 51.67 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.2336, allocations: 31.97 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.2338, allocations: 171.4 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.234, allocations: 193.6 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2341, allocations: 51.8 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.2343, allocations: 67.67 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.2343, allocations: 8 kB / 0.9819 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.2344, allocations: 27.98 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.2344, allocations: 31.89 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.2345, allocations: 49.64 kB / 0.982 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.2346, allocations: 127.9 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2347, allocations: 0 / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2347, allocations: 0 / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2347, allocations: 0 / 0.9821 GB, free: 24.59 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.0005914/0.2353, allocations: 470.7 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2353, allocations: 8.031 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.2355, allocations: 28.73 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.2357, allocations: 214.3 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.2358, allocations: 38.45 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.2358, allocations: 12.12 kB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.2361, allocations: 152.1 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2361, allocations: 3.938 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.2361, allocations: 4 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.2362, allocations: 11.98 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.2363, allocations: 87.89 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.237, allocations: 0.6441 MB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.2372, allocations: 58.62 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.2373, allocations: 28.84 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.2373, allocations: 0 / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.2375, allocations: 162.5 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2375, allocations: 4 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003101/0.2378, allocations: 163.4 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.2379, allocations: 132.5 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.238, allocations: 186.2 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.238, allocations: 25.7 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.2381, allocations: 139.8 kB / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2381, allocations: 27.78 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.2381, allocations: 0 / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.711e-05/0.2382, allocations: 326.8 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-05/0.2383, allocations: 35.98 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.751e-05/0.2384, allocations: 117.3 kB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.2386, allocations: 230.4 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2386, allocations: 0 / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002737/0.2389, allocations: 244.7 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.2389, allocations: 59.41 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.239, allocations: 7.938 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.239, allocations: 4 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2391, allocations: 32.23 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2391, allocations: 8 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.2392, allocations: 27.88 kB / 0.9857 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2392, allocations: 11.98 kB / 0.9857 GB, free: 20.55 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.0001042/0.2394, allocations: 171.4 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.2394, allocations: 11.81 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.2394, allocations: 21.33 kB / 0.9859 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2394, allocations: 11.94 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2394, allocations: 0 / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2394, allocations: 3.938 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.2396, allocations: 209.6 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2396, allocations: 0 / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.2397, allocations: 8 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2397, allocations: 4 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2397, allocations: 3.938 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2397, allocations: 0 / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2397, allocations: 7.922 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.24, allocations: 222.6 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.2401, allocations: 93.03 kB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.2401, allocations: 3.938 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.2402, allocations: 15.98 kB / 0.9864 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.2403, allocations: 16.05 kB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2403, allocations: 0 / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.867e-05/0.2404, allocations: 132.3 kB / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2404, allocations: 0 / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002031/0.2406, allocations: 28 kB / 0.9866 GB, free: 19.5 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 8.652e-05/0.2407, allocations: 104.3 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.2409, allocations: 226.8 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.241, allocations: 0 / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.2411, allocations: 107.3 kB / 0.987 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.2413, allocations: 19.89 kB / 0.987 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.2417, allocations: 330.5 kB / 0.9873 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.2419, allocations: 0.7238 MB / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.988e-05/0.242, allocations: 12.64 kB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.242, allocations: 19.42 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.242, allocations: 0 / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.003263/0.2453, allocations: 1.211 MB / 0.9893 GB, free: 16.68 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)