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.001266/0.001266, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.223/1.223, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6532/0.6532, allocations: 115.3 MB / 405.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 68.25 kB / 493 MB, free: 6.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 76.19 MB / 0.5558 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003664/0.1266, allocations: 2.338 MB / 0.5581 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1279, allocations: 0.7909 MB / 0.5589 GB, free: 7.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.128, allocations: 0 / 0.5589 GB, free: 7.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.1285, allocations: 146.7 kB / 0.559 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.1287, allocations: 55.73 kB / 0.5591 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.1289, allocations: 43.91 kB / 0.5591 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.1291, allocations: 199.3 kB / 0.5593 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1293, allocations: 69.31 kB / 0.5594 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1294, allocations: 55.77 kB / 0.5594 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1296, allocations: 79.66 kB / 0.5595 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.1296, allocations: 8 kB / 0.5595 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1298, allocations: 59.88 kB / 0.5596 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.1298, allocations: 43.83 kB / 0.5596 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.526e-05/0.1299, allocations: 59.67 kB / 0.5597 GB, free: 6.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1301, allocations: 163.5 kB / 0.5598 GB, free: 6.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1302, allocations: 0 / 0.5598 GB, free: 6.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1302, allocations: 0 / 0.5598 GB, free: 6.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1302, allocations: 0 / 0.5598 GB, free: 6.691 MB / 430.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.0006673/0.1308, allocations: 498.6 kB / 0.5603 GB, free: 6.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1309, allocations: 8.031 kB / 0.5603 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.1309, allocations: 42.75 kB / 0.5604 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.1311, allocations: 28.73 kB / 0.5604 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1313, allocations: 212.1 kB / 0.5606 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.1314, allocations: 30.45 kB / 0.5606 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1314, allocations: 15.94 kB / 0.5606 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1317, allocations: 156.1 kB / 0.5608 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1317, allocations: 0 / 0.5608 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1317, allocations: 8 kB / 0.5608 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.1317, allocations: 4 kB / 0.5608 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.1319, allocations: 79.95 kB / 0.5609 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/0.1327, allocations: 0.6441 MB / 0.5615 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.133, allocations: 58.48 kB / 0.5616 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.1331, allocations: 28.91 kB / 0.5616 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.1331, allocations: 4 kB / 0.5616 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.1333, allocations: 146.9 kB / 0.5617 GB, free: 4.527 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1333, allocations: 0 / 0.5617 GB, free: 4.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003548/0.1336, allocations: 167 kB / 0.5619 GB, free: 4.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.1337, allocations: 140.5 kB / 0.562 GB, free: 4.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1339, allocations: 174.4 kB / 0.5622 GB, free: 4.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.134, allocations: 29.7 kB / 0.5622 GB, free: 3.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.134, allocations: 139.7 kB / 0.5623 GB, free: 3.824 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1341, allocations: 19.8 kB / 0.5624 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.1341, allocations: 41.61 kB / 0.5624 GB, free: 3.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1342, allocations: 330.8 kB / 0.5627 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.1343, allocations: 35.98 kB / 0.5628 GB, free: 3.391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1345, allocations: 115.8 kB / 0.5629 GB, free: 3.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.1347, allocations: 230.3 kB / 0.5631 GB, free: 2.969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1347, allocations: 0 / 0.5631 GB, free: 2.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003338/0.1351, allocations: 244.7 kB / 0.5633 GB, free: 2.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.1351, allocations: 63.34 kB / 0.5634 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1351, allocations: 0 / 0.5634 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1351, allocations: 4 kB / 0.5634 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1353, allocations: 35.92 kB / 0.5634 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1353, allocations: 4 kB / 0.5634 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.1354, allocations: 32.05 kB / 0.5634 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1354, allocations: 8 kB / 0.5635 GB, free: 2.555 MB / 430.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.0001278/0.1356, allocations: 167.4 kB / 0.5636 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1356, allocations: 15.84 kB / 0.5636 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.1356, allocations: 17.39 kB / 0.5636 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1356, allocations: 0 / 0.5636 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1357, allocations: 0 / 0.5636 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1357, allocations: 0 / 0.5636 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1358, allocations: 217.6 kB / 0.5639 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1358, allocations: 0 / 0.5639 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.1359, allocations: 8 kB / 0.5639 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.136, allocations: 3.984 kB / 0.5639 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.136, allocations: 7.984 kB / 0.5639 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.136, allocations: 7.984 kB / 0.5639 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.136, allocations: 0 / 0.5639 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.1364, allocations: 218.5 kB / 0.5641 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.1365, allocations: 88.98 kB / 0.5642 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.1365, allocations: 3.938 kB / 0.5642 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.1366, allocations: 11.98 kB / 0.5642 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.1367, allocations: 8 kB / 0.5642 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1367, allocations: 7.984 kB / 0.5642 GB, free: 1.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.1368, allocations: 132.3 kB / 0.5643 GB, free: 1.547 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1369, allocations: 0 / 0.5643 GB, free: 1.547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1371, allocations: 39.84 kB / 0.5644 GB, free: 1.508 MB / 430.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.0006552/0.1378, allocations: 0.7578 MB / 0.5651 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.1381, allocations: 215.3 kB / 0.5653 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1381, allocations: 8 kB / 0.5653 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1383, allocations: 103.3 kB / 0.5654 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1385, allocations: 19.98 kB / 0.5654 GB, free: 352 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.1407, allocations: 1.979 MB / 0.5674 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1409, allocations: 0.72 MB / 0.5681 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.843e-05/0.141, allocations: 12.64 kB / 0.5681 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.1411, allocations: 39.42 kB / 0.5681 GB, free: 13.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1411, allocations: 4 kB / 0.5681 GB, free: 13.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.1528, allocations: 2.808 MB / 0.5709 GB, free: 10.71 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.1531, allocations: 202.9 kB / 0.5711 GB, free: 10.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.782, allocations: 7.938 kB / 0.5711 GB, free: 10.45 MB / 446.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)