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.662/1.662, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.001051/0.001051, allocations: 172.5 kB / 372 MB, free: 10.25 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.761/1.761, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0008685/0.0008684, allocations: 92.89 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004204, allocations: 11.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002281/0.2298, allocations: 1.944 MB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.2308, allocations: 0.7803 MB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.532e-05/0.2309, allocations: 0 / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.231, allocations: 15.86 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.2312, allocations: 47.75 kB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.2314, allocations: 43.88 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.2316, allocations: 163.4 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.2318, allocations: 189.8 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2319, allocations: 55.77 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.232, allocations: 63.73 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.2321, allocations: 4 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.941e-05/0.2322, allocations: 27.92 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.2322, allocations: 31.91 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.2322, allocations: 49.64 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.2324, allocations: 127.9 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.2324, allocations: 0 / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2324, allocations: 0 / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.2324, allocations: 0 / 0.9831 GB, free: 23.97 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.0005735/0.233, allocations: 470.4 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.233, allocations: 12.02 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.2331, allocations: 46.5 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.2333, allocations: 35.75 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.2335, allocations: 210.8 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.2335, allocations: 29.89 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.2335, allocations: 12 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.2338, allocations: 152.9 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2338, allocations: 3.953 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2338, allocations: 8 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.2339, allocations: 4.188 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.234, allocations: 92.45 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.2347, allocations: 0.6412 MB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.2349, allocations: 62.61 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.235, allocations: 28.84 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.235, allocations: 4 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.2352, allocations: 138.8 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.2352, allocations: 3.984 kB / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003126/0.2355, allocations: 175.1 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.2356, allocations: 136.5 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2357, allocations: 178.3 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2357, allocations: 29.7 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.2358, allocations: 135.8 kB / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2358, allocations: 23.7 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.2358, allocations: 0 / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.2359, allocations: 326.8 kB / 0.9859 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.236, allocations: 47.97 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2361, allocations: 106.2 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.2362, allocations: 107.4 kB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2362, allocations: 0 / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002812/0.2365, allocations: 240.7 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2366, allocations: 67.3 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2366, allocations: 7.984 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2366, allocations: 4 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2367, allocations: 35.92 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2367, allocations: 8.25 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.2369, allocations: 27.75 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.2369, allocations: 15.98 kB / 0.9866 GB, free: 20.03 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 9.985e-05/0.237, allocations: 170.2 kB / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.237, allocations: 11.91 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.237, allocations: 17.36 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2371, allocations: 0 / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2371, allocations: 4 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2371, allocations: 0 / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2372, allocations: 217.6 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2372, allocations: 0 / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/0.2373, allocations: 15.98 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2373, allocations: 0 / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.2373, allocations: 4 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2373, allocations: 3.953 kB / 0.987 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2373, allocations: 0 / 0.987 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.2377, allocations: 226.5 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.2377, allocations: 85.05 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2377, allocations: 0 / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.2378, allocations: 15.98 kB / 0.9873 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.2379, allocations: 16 kB / 0.9873 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.2379, allocations: 4 kB / 0.9873 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.723e-05/0.238, allocations: 136.3 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.238, allocations: 0 / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002163/0.2382, allocations: 35.91 kB / 0.9875 GB, free: 18.98 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.0004683/0.2387, allocations: 0.7546 MB / 0.9882 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.239, allocations: 218.6 kB / 0.9884 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.239, allocations: 0.6875 kB / 0.9884 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.2391, allocations: 111.4 kB / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.2393, allocations: 27.94 kB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.2405, allocations: 0.9263 MB / 0.9895 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2407, allocations: 0.7197 MB / 0.9902 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.34e-05/0.2408, allocations: 24.58 kB / 0.9902 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.2408, allocations: 35.42 kB / 0.9902 GB, free: 16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2408, allocations: 0 / 0.9902 GB, free: 16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.2546, allocations: 2.723 MB / 0.9929 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.2548, allocations: 202.7 kB / 0.9931 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.968, allocations: 6.531 kB / 0.9931 GB, free: 13.2 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)