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.001235/0.001235, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001428/0.001428, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002531/0.002531, allocations: 292.6 kB / 313.5 MB, free: 2.625 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.213/1.213, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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.002825/0.002825, allocations: 97.86 kB / 0.7402 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1654, allocations: 95.38 MB / 0.8334 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003794/0.1692, allocations: 2.32 MB / 0.8356 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1706, allocations: 0.8221 MB / 0.8364 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.1706, allocations: 0 / 0.8364 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.1712, allocations: 143.4 kB / 0.8366 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1714, allocations: 71.66 kB / 0.8366 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1715, allocations: 63.81 kB / 0.8367 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1718, allocations: 163.4 kB / 0.8369 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.172, allocations: 80.97 kB / 0.8369 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1722, allocations: 79.75 kB / 0.837 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1723, allocations: 71.62 kB / 0.8371 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.1723, allocations: 12 kB / 0.8371 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1725, allocations: 59.89 kB / 0.8371 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.1725, allocations: 31.91 kB / 0.8372 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.214e-05/0.1726, allocations: 55.72 kB / 0.8372 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1728, allocations: 179.3 kB / 0.8374 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1728, allocations: 3.938 kB / 0.8374 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1728, allocations: 0 / 0.8374 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1728, allocations: 0 / 0.8374 GB, free: 4.207 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.0006504/0.1735, allocations: 425.2 kB / 0.8378 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1735, allocations: 9.344 kB / 0.8378 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.964e-05/0.1736, allocations: 4.375 kB / 0.8378 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.1736, allocations: 50.67 kB / 0.8379 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.1739, allocations: 40.81 kB / 0.8379 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1741, allocations: 162.6 kB / 0.8381 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1742, allocations: 63.34 kB / 0.8381 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1742, allocations: 12 kB / 0.8381 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.1746, allocations: 169.9 kB / 0.8383 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1746, allocations: 0 / 0.8383 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1746, allocations: 7.938 kB / 0.8383 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.1746, allocations: 7.984 kB / 0.8383 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.1748, allocations: 125.5 kB / 0.8384 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008422/0.1757, allocations: 0.5809 MB / 0.839 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.1759, allocations: 88.42 kB / 0.8391 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.176, allocations: 58.55 kB / 0.8391 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.176, allocations: 0 / 0.8391 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.1763, allocations: 180.4 kB / 0.8393 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.1763, allocations: 0 / 0.8393 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004105/0.1767, allocations: 222.7 kB / 0.8395 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.1767, allocations: 128.5 kB / 0.8396 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1769, allocations: 191.2 kB / 0.8398 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.177, allocations: 29.69 kB / 0.8399 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1771, allocations: 140 kB / 0.84 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.1771, allocations: 23.83 kB / 0.84 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.1772, allocations: 37.67 kB / 0.8401 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.1773, allocations: 334.8 kB / 0.8404 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1774, allocations: 95.39 kB / 0.8405 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.1776, allocations: 165.7 kB / 0.8406 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.1779, allocations: 226.4 kB / 0.8408 GB, free: 268 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1779, allocations: 4 kB / 0.8408 GB, free: 264 kB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004208/0.1783, allocations: 304 kB / 0.8411 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.1784, allocations: 67.39 kB / 0.8412 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1784, allocations: 8.312 kB / 0.8412 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1784, allocations: 11.94 kB / 0.8412 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1785, allocations: 27.98 kB / 0.8412 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1785, allocations: 3.938 kB / 0.8412 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1786, allocations: 27.81 kB / 0.8413 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.1787, allocations: 15.94 kB / 0.8413 GB, free: 15.76 MB / 0.5919 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.0001408/0.1788, allocations: 167.8 kB / 0.8414 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1788, allocations: 15.91 kB / 0.8415 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.1789, allocations: 13.41 kB / 0.8415 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1789, allocations: 4 kB / 0.8415 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1789, allocations: 0 / 0.8415 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1789, allocations: 3.984 kB / 0.8415 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.179, allocations: 180.6 kB / 0.8417 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.179, allocations: 0 / 0.8417 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.303e-05/0.1791, allocations: 15.92 kB / 0.8417 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1791, allocations: 0 / 0.8417 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1791, allocations: 0 / 0.8417 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1791, allocations: 4.312 kB / 0.8417 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1791, allocations: 0 / 0.8417 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.1796, allocations: 290 kB / 0.8419 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.1796, allocations: 7.984 kB / 0.842 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.1797, allocations: 4 kB / 0.842 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.1798, allocations: 7.984 kB / 0.842 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.1798, allocations: 8 kB / 0.842 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1798, allocations: 7.984 kB / 0.842 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001142/0.1799, allocations: 132.3 kB / 0.8421 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1799, allocations: 0 / 0.8421 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002471/0.1802, allocations: 39.89 kB / 0.8421 GB, free: 14.79 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.0007654/0.1809, allocations: 0.8165 MB / 0.8429 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.1813, allocations: 299.7 kB / 0.8432 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1813, allocations: 0 / 0.8432 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1815, allocations: 121.1 kB / 0.8433 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.1817, allocations: 16.67 kB / 0.8434 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.1842, allocations: 2.245 MB / 0.8456 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.713e-05/0.1843, allocations: 106.7 kB / 0.8457 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.322e-05/0.1844, allocations: 24.61 kB / 0.8457 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.1845, allocations: 35.42 kB / 0.8457 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1845, allocations: 4 kB / 0.8457 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.2091, allocations: 3.455 MB / 0.8491 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.51, allocations: 7.469 kB / 0.8491 GB, free: 7.523 MB / 0.5919 GB " [Timeout remaining time 648] (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.62323746806942] Failed to read output from testmodel.py, exit status != 0: 11.667963435989805 11.692010886 11.514224329 Calling exit ...