Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 106.2 kB / 16.4 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7047/0.7047, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.58 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1473, allocations: 76.18 MB / 0.6316 GB, free: 4.973 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003637/0.151, allocations: 2.292 MB / 0.6338 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1524, allocations: 0.7714 MB / 0.6345 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.1525, allocations: 7.938 kB / 0.6346 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.1531, allocations: 155.3 kB / 0.6347 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1533, allocations: 59.67 kB / 0.6348 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.1534, allocations: 63.8 kB / 0.6348 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1537, allocations: 159.5 kB / 0.635 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.154, allocations: 103.8 kB / 0.6351 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1541, allocations: 63.77 kB / 0.6351 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1542, allocations: 67.69 kB / 0.6352 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.1543, allocations: 12 kB / 0.6352 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1544, allocations: 59.89 kB / 0.6353 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.1545, allocations: 27.91 kB / 0.6353 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.706e-05/0.1545, allocations: 75.59 kB / 0.6354 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1548, allocations: 164.3 kB / 0.6355 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1548, allocations: 4 kB / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1548, allocations: 0 / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1548, allocations: 4 kB / 0.6355 GB, free: 0.8828 MB / 478.1 MB 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.0007677/0.1556, allocations: 486.6 kB / 0.636 GB, free: 356 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1556, allocations: 8.031 kB / 0.636 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.1557, allocations: 46.73 kB / 0.636 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.1559, allocations: 32.73 kB / 0.6361 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.1562, allocations: 214 kB / 0.6363 GB, free: 8 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.1563, allocations: 38.45 kB / 0.6363 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1563, allocations: 7.938 kB / 0.6363 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1566, allocations: 150.2 kB / 0.6365 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1566, allocations: 7.938 kB / 0.6365 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.1566, allocations: 4 kB / 0.6365 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.1567, allocations: 7.938 kB / 0.6365 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.1569, allocations: 83.95 kB / 0.6366 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.1577, allocations: 0.6402 MB / 0.6372 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1579, allocations: 62.48 kB / 0.6372 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.158, allocations: 32.84 kB / 0.6373 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.158, allocations: 0 / 0.6373 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.1582, allocations: 143 kB / 0.6374 GB, free: 14.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1582, allocations: 0 / 0.6374 GB, free: 14.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003581/0.1586, allocations: 167 kB / 0.6376 GB, free: 14.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.1587, allocations: 136.5 kB / 0.6377 GB, free: 14.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1588, allocations: 174.4 kB / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1589, allocations: 29.7 kB / 0.6379 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.159, allocations: 147.7 kB / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.159, allocations: 23.73 kB / 0.6381 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.159, allocations: 45.61 kB / 0.6381 GB, free: 13.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1592, allocations: 322.8 kB / 0.6384 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.1593, allocations: 35.98 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1594, allocations: 109.4 kB / 0.6386 GB, free: 13.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.1597, allocations: 234.3 kB / 0.6388 GB, free: 13.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1597, allocations: 4 kB / 0.6388 GB, free: 13.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003351/0.16, allocations: 236.9 kB / 0.639 GB, free: 12.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.1601, allocations: 67.34 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1601, allocations: 4 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1601, allocations: 4 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1602, allocations: 27.92 kB / 0.6391 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1602, allocations: 7.938 kB / 0.6391 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1604, allocations: 31.73 kB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1604, allocations: 8 kB / 0.6391 GB, free: 12.74 MB / 494.1 MB 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.0001302/0.1605, allocations: 176.7 kB / 0.6393 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.1606, allocations: 11.84 kB / 0.6393 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.1606, allocations: 17.39 kB / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1606, allocations: 4 kB / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1606, allocations: 0 / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1606, allocations: 0 / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1608, allocations: 213.6 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1608, allocations: 0 / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.1609, allocations: 8 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1609, allocations: 11.88 kB / 0.6396 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1609, allocations: 7.984 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1609, allocations: 0 / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1609, allocations: 0 / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1613, allocations: 214.6 kB / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.1614, allocations: 85.05 kB / 0.6399 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.1614, allocations: 7.938 kB / 0.6399 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.1615, allocations: 19.98 kB / 0.6399 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.1615, allocations: 4 kB / 0.6399 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1616, allocations: 7.984 kB / 0.6399 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.1617, allocations: 131.2 kB / 0.64 GB, free: 11.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1617, allocations: 0 / 0.64 GB, free: 11.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1619, allocations: 39.84 kB / 0.6401 GB, free: 11.69 MB / 494.1 MB 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.000599/0.1625, allocations: 0.7507 MB / 0.6408 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.1628, allocations: 218.6 kB / 0.641 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1628, allocations: 0 / 0.641 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.163, allocations: 108 kB / 0.6411 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.1632, allocations: 19.98 kB / 0.6411 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1653, allocations: 1.963 MB / 0.643 GB, free: 8.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1656, allocations: 0.7273 MB / 0.6438 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.609e-05/0.1657, allocations: 12.64 kB / 0.6438 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.1657, allocations: 39.42 kB / 0.6438 GB, free: 7.605 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1657, allocations: 4 kB / 0.6438 GB, free: 7.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.1874, allocations: 3.177 MB / 0.6469 GB, free: 4.527 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.629, allocations: 5.641 kB / 0.6469 GB, free: 4.523 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)