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.00075/0.0007499, allocations: 99.28 kB / 16.02 MB, free: 80 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.0008212/0.0008214, allocations: 186.3 kB / 16.92 MB, free: 6.75 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.299/1.299, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6459/0.6459, allocations: 115.5 MB / 407.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 8 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 77.52 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002819/0.1335, allocations: 1.995 MB / 0.562 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1348, allocations: 0.7715 MB / 0.5627 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1349, allocations: 0 / 0.5627 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.1351, allocations: 15.86 kB / 0.5627 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.1353, allocations: 63.67 kB / 0.5628 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.1355, allocations: 47.94 kB / 0.5629 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.1358, allocations: 191.4 kB / 0.563 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.136, allocations: 193.8 kB / 0.5632 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1362, allocations: 59.7 kB / 0.5633 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1363, allocations: 67.69 kB / 0.5633 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1364, allocations: 8 kB / 0.5633 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1365, allocations: 59.86 kB / 0.5634 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.1366, allocations: 31.91 kB / 0.5634 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.1367, allocations: 85.38 kB / 0.5635 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1369, allocations: 163.4 kB / 0.5637 GB, free: 5.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1369, allocations: 0 / 0.5637 GB, free: 5.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1369, allocations: 0 / 0.5637 GB, free: 5.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1369, allocations: 4 kB / 0.5637 GB, free: 5.172 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.0005899/0.1375, allocations: 466.7 kB / 0.5641 GB, free: 4.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1376, allocations: 11.97 kB / 0.5641 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.1376, allocations: 42.73 kB / 0.5642 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.1378, allocations: 28.73 kB / 0.5642 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.138, allocations: 213.9 kB / 0.5644 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.1381, allocations: 34.45 kB / 0.5644 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1381, allocations: 15.84 kB / 0.5645 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1384, allocations: 153.8 kB / 0.5646 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1384, allocations: 0 / 0.5646 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1385, allocations: 4 kB / 0.5646 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.1385, allocations: 15.92 kB / 0.5646 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.1387, allocations: 91.89 kB / 0.5647 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.1395, allocations: 0.6403 MB / 0.5653 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1397, allocations: 58.56 kB / 0.5654 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.336e-05/0.1398, allocations: 28.91 kB / 0.5654 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.1398, allocations: 4 kB / 0.5654 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.14, allocations: 158.8 kB / 0.5656 GB, free: 3.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.14, allocations: 0 / 0.5656 GB, free: 3.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003628/0.1404, allocations: 175.1 kB / 0.5657 GB, free: 2.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.1405, allocations: 132.5 kB / 0.5659 GB, free: 2.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1406, allocations: 182.3 kB / 0.566 GB, free: 2.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1407, allocations: 33.7 kB / 0.5661 GB, free: 2.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.1407, allocations: 135.8 kB / 0.5662 GB, free: 2.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1408, allocations: 19.8 kB / 0.5662 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.1408, allocations: 17.72 kB / 0.5662 GB, free: 2.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.1409, allocations: 326.8 kB / 0.5665 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.141, allocations: 43.97 kB / 0.5666 GB, free: 1.883 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1411, allocations: 117.2 kB / 0.5667 GB, free: 1.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.1414, allocations: 230.4 kB / 0.5669 GB, free: 1.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1414, allocations: 0 / 0.5669 GB, free: 1.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003418/0.1418, allocations: 245 kB / 0.5672 GB, free: 1.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.1418, allocations: 73.11 kB / 0.5672 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1418, allocations: 0 / 0.5672 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1418, allocations: 4 kB / 0.5672 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.142, allocations: 35.92 kB / 0.5673 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.142, allocations: 4 kB / 0.5673 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.1421, allocations: 27.83 kB / 0.5673 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1421, allocations: 8 kB / 0.5673 GB, free: 1.039 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.0001288/0.1423, allocations: 175.4 kB / 0.5675 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.1423, allocations: 19.75 kB / 0.5675 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.1423, allocations: 13.41 kB / 0.5675 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1424, allocations: 0 / 0.5675 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1424, allocations: 0 / 0.5675 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1424, allocations: 3.938 kB / 0.5675 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.1425, allocations: 213.6 kB / 0.5677 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1425, allocations: 3.938 kB / 0.5677 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.1426, allocations: 11.98 kB / 0.5677 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1426, allocations: 7.938 kB / 0.5677 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1427, allocations: 8 kB / 0.5677 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1427, allocations: 0 / 0.5677 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1427, allocations: 0 / 0.5677 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.143, allocations: 222.5 kB / 0.5679 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.1431, allocations: 85.08 kB / 0.568 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1431, allocations: 11.95 kB / 0.568 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.1432, allocations: 8 kB / 0.568 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.1433, allocations: 11.98 kB / 0.5681 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1433, allocations: 4 kB / 0.5681 GB, free: 148 kB / 430.1 MB Notification: Performance of sorting global known variables: time 9.372e-05/0.1434, allocations: 136.3 kB / 0.5682 GB, free: 12 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1434, allocations: 0 / 0.5682 GB, free: 12 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1437, allocations: 35.89 kB / 0.5682 GB, free: 15.97 MB / 446.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.0005636/0.1442, allocations: 0.7621 MB / 0.569 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.1445, allocations: 222.7 kB / 0.5692 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1446, allocations: 0 / 0.5692 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.1447, allocations: 107.4 kB / 0.5693 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1449, allocations: 16 kB / 0.5693 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.1469, allocations: 2.012 MB / 0.5713 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1472, allocations: 0.716 MB / 0.572 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.492e-05/0.1472, allocations: 20.62 kB / 0.572 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.1473, allocations: 39.42 kB / 0.572 GB, free: 11.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1473, allocations: 0 / 0.572 GB, free: 11.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.1594, allocations: 2.746 MB / 0.5747 GB, free: 9.258 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.1596, allocations: 208.5 kB / 0.5749 GB, free: 8.996 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.803, allocations: 0 / 0.5749 GB, free: 8.996 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)