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: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.736/2.736, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001429/0.001428, allocations: 176.5 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009829/0.0009828, allocations: 93 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006628/0.0006632, allocations: 11.56 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.262, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003025/0.2651, allocations: 1.952 MB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2666, allocations: 0.7766 MB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.2668, allocations: 4 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.267, allocations: 23.78 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.2673, allocations: 47.75 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.2675, allocations: 35.89 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.2677, allocations: 171.4 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.268, allocations: 181.8 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.2681, allocations: 55.77 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.2683, allocations: 63.75 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.2683, allocations: 8 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.2684, allocations: 27.92 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.2685, allocations: 23.91 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.2686, allocations: 49.64 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2688, allocations: 127.9 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2688, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2688, allocations: 8 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2688, allocations: 0 / 0.9819 GB, free: 24.68 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.0006888/0.2695, allocations: 458.5 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2696, allocations: 12.02 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.2696, allocations: 50.53 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.2699, allocations: 35.73 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.2702, allocations: 208.3 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.2702, allocations: 41.83 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.2703, allocations: 16 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.2706, allocations: 152.8 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2707, allocations: 0 / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.2707, allocations: 4 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.2707, allocations: 4.188 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.2711, allocations: 92.52 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009678/0.272, allocations: 0.6412 MB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.2724, allocations: 66.48 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2725, allocations: 24.92 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2725, allocations: 7.984 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.2728, allocations: 150.7 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.2728, allocations: 0 / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000483/0.2733, allocations: 167.2 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.2733, allocations: 132.5 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.2735, allocations: 182.3 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.2736, allocations: 33.69 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.2737, allocations: 135.8 kB / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.2737, allocations: 23.7 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.2737, allocations: 4 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.2738, allocations: 322.8 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.2739, allocations: 35.98 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.2741, allocations: 114.8 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.2743, allocations: 111.3 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2743, allocations: 4 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004849/0.2748, allocations: 248.8 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.2749, allocations: 59.41 kB / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2749, allocations: 0 / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.2749, allocations: 4 kB / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.2751, allocations: 31.92 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2752, allocations: 7.984 kB / 0.9853 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.2754, allocations: 31.97 kB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.2754, allocations: 12 kB / 0.9854 GB, free: 20.74 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.0001374/0.2756, allocations: 172.7 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.2756, allocations: 15.86 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.2756, allocations: 17.39 kB / 0.9856 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2757, allocations: 0 / 0.9856 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2757, allocations: 0 / 0.9856 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2757, allocations: 0 / 0.9856 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.2759, allocations: 213.6 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2759, allocations: 4 kB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.276, allocations: 12 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.276, allocations: 0 / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.2761, allocations: 11.94 kB / 0.9858 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2761, allocations: 0 / 0.9858 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2761, allocations: 0 / 0.9858 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.2766, allocations: 226.6 kB / 0.986 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.2767, allocations: 85.05 kB / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.2767, allocations: 8 kB / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2769, allocations: 15.94 kB / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.277, allocations: 7.984 kB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.277, allocations: 8 kB / 0.9861 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001168/0.2771, allocations: 132.3 kB / 0.9863 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2771, allocations: 8 kB / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003206/0.2775, allocations: 27.91 kB / 0.9863 GB, free: 19.69 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.0007123/0.2782, allocations: 0.7546 MB / 0.987 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.2786, allocations: 218.7 kB / 0.9872 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2787, allocations: 0 / 0.9872 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.2789, allocations: 107.4 kB / 0.9873 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2792, allocations: 20.58 kB / 0.9874 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.2811, allocations: 0.9329 MB / 0.9883 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.2813, allocations: 0.716 MB / 0.989 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.2814, allocations: 20.62 kB / 0.989 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.2815, allocations: 35.42 kB / 0.989 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2815, allocations: 4 kB / 0.989 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.3092, allocations: 2.708 MB / 0.9917 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.3095, allocations: 202.5 kB / 0.9919 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/2.844, allocations: 0 / 0.9919 GB, free: 13.91 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)