Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 215.1 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002523/0.002523, allocations: 289.8 kB / 313.5 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.244/1.244, allocations: 180.6 MB / 0.5377 GB, free: 13.06 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 96.25 kB / 0.7403 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 95.39 MB / 0.8335 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003996/0.171, allocations: 2.386 MB / 0.8358 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1725, allocations: 0.8688 MB / 0.8366 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1726, allocations: 4 kB / 0.8367 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000591/0.1732, allocations: 159.3 kB / 0.8368 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.1734, allocations: 67.59 kB / 0.8369 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1736, allocations: 67.75 kB / 0.8369 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.1739, allocations: 163.5 kB / 0.8371 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.1741, allocations: 80.97 kB / 0.8372 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1743, allocations: 75.69 kB / 0.8372 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.1744, allocations: 67.69 kB / 0.8373 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1745, allocations: 12 kB / 0.8373 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1746, allocations: 71.88 kB / 0.8374 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.1746, allocations: 35.84 kB / 0.8374 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.1747, allocations: 67.66 kB / 0.8375 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.175, allocations: 175.3 kB / 0.8376 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.175, allocations: 4 kB / 0.8377 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.175, allocations: 0 / 0.8377 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.175, allocations: 0 / 0.8377 GB, free: 4.383 MB / 0.5762 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.0007112/0.1757, allocations: 421.2 kB / 0.8381 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1758, allocations: 13.34 kB / 0.8381 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.1758, allocations: 8.359 kB / 0.8381 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.1758, allocations: 42.73 kB / 0.8381 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.1761, allocations: 40.81 kB / 0.8382 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1764, allocations: 162.6 kB / 0.8383 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-05/0.1764, allocations: 63.41 kB / 0.8384 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.1765, allocations: 15.98 kB / 0.8384 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1768, allocations: 152.9 kB / 0.8385 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1768, allocations: 0 / 0.8385 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1768, allocations: 0 / 0.8385 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.1768, allocations: 4 kB / 0.8385 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.177, allocations: 99.81 kB / 0.8386 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.1779, allocations: 0.6082 MB / 0.8392 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.1781, allocations: 50.75 kB / 0.8393 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.1782, allocations: 28.84 kB / 0.8393 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1782, allocations: 4 kB / 0.8393 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.1784, allocations: 146.7 kB / 0.8394 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1784, allocations: 0 / 0.8394 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003867/0.1788, allocations: 155.3 kB / 0.8396 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.1789, allocations: 136.5 kB / 0.8397 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1791, allocations: 183.3 kB / 0.8399 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1791, allocations: 29.7 kB / 0.8399 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1792, allocations: 144 kB / 0.8401 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1793, allocations: 23.83 kB / 0.8401 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.1793, allocations: 41.67 kB / 0.8401 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1795, allocations: 326.8 kB / 0.8404 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1796, allocations: 39.97 kB / 0.8405 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1797, allocations: 115 kB / 0.8406 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.18, allocations: 226.4 kB / 0.8408 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.18, allocations: 0 / 0.8408 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004031/0.1804, allocations: 248.6 kB / 0.841 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/0.1805, allocations: 67.39 kB / 0.8411 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1805, allocations: 0 / 0.8411 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1805, allocations: 4 kB / 0.8411 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1806, allocations: 31.92 kB / 0.8411 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1806, allocations: 4 kB / 0.8411 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1808, allocations: 32.19 kB / 0.8412 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1808, allocations: 8 kB / 0.8412 GB, free: 388 kB / 0.5762 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 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.1809, allocations: 164.6 kB / 0.8413 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.181, allocations: 15.91 kB / 0.8413 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.181, allocations: 17.34 kB / 0.8414 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.181, allocations: 0 / 0.8414 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.181, allocations: 3.984 kB / 0.8414 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.181, allocations: 0 / 0.8414 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1812, allocations: 196.6 kB / 0.8416 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1812, allocations: 4 kB / 0.8416 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.1813, allocations: 11.98 kB / 0.8416 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1813, allocations: 0 / 0.8416 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.1813, allocations: 4 kB / 0.8416 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1813, allocations: 3.938 kB / 0.8416 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1813, allocations: 0 / 0.8416 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.1817, allocations: 218.6 kB / 0.8418 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.1818, allocations: 19.86 kB / 0.8418 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.1818, allocations: 8 kB / 0.8418 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.1819, allocations: 8 kB / 0.8418 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.1819, allocations: 3.984 kB / 0.8418 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.182, allocations: 8.094 kB / 0.8418 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001255/0.1821, allocations: 140.3 kB / 0.842 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1821, allocations: 0 / 0.842 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002556/0.1823, allocations: 31.94 kB / 0.842 GB, free: 15.46 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007044/0.183, allocations: 0.7585 MB / 0.8427 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.1834, allocations: 211.2 kB / 0.8429 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1834, allocations: 4.125 kB / 0.8429 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1835, allocations: 87.39 kB / 0.843 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.1837, allocations: 19.98 kB / 0.843 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.1862, allocations: 1.976 MB / 0.845 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1865, allocations: 0.7123 MB / 0.8457 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.887e-05/0.1866, allocations: 24.62 kB / 0.8457 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.1866, allocations: 39.53 kB / 0.8457 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1866, allocations: 3.938 kB / 0.8457 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.2115, allocations: 3.42 MB / 0.8491 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.2, allocations: 7.453 kB / 0.8491 GB, free: 8.129 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.408949090982787] Failed to read output from testmodel.py, exit status != 0: 11.373511001002043 11.399205064 11.219566575 Calling exit ...