Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",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.001183/0.001183, allocations: 108.5 kB / 16.41 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.001238/0.001238, 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.221/1.221, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6688/0.6688, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 66.94 kB / 0.5572 GB, free: 32.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.119, allocations: 76.18 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004852/0.1239, allocations: 4.087 MB / 0.6355 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.1262, allocations: 1.332 MB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.1267, allocations: 23.88 kB / 0.6369 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.127, allocations: 122.7 kB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.1274, allocations: 182.4 kB / 0.6372 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008174/0.1282, allocations: 420.4 kB / 0.6376 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008695/0.1291, allocations: 0.9554 MB / 0.6385 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.1297, allocations: 462.1 kB / 0.6389 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.1301, allocations: 326.8 kB / 0.6392 GB, free: 13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.1304, allocations: 346.3 kB / 0.6396 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1306, allocations: 92 kB / 0.6397 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1307, allocations: 88 kB / 0.6398 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1308, allocations: 175.5 kB / 0.6399 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.1311, allocations: 398 kB / 0.6403 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008527/0.132, allocations: 1.059 MB / 0.6413 GB, free: 10.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.132, allocations: 4 kB / 0.6413 GB, free: 10.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.132, allocations: 0 / 0.6413 GB, free: 10.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.61e-05/0.132, allocations: 0 / 0.6413 GB, free: 10.86 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001736/0.1338, allocations: 1.081 MB / 0.6424 GB, free: 9.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1338, allocations: 15.97 kB / 0.6424 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.1339, allocations: 94.7 kB / 0.6425 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.1341, allocations: 84 kB / 0.6426 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.135, allocations: 0.565 MB / 0.6431 GB, free: 8.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.135, allocations: 45.69 kB / 0.6432 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.1351, allocations: 56.38 kB / 0.6432 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.1362, allocations: 0.6154 MB / 0.6438 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.1362, allocations: 7.906 kB / 0.6438 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.1363, allocations: 24 kB / 0.6439 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.1363, allocations: 16 kB / 0.6439 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009241/0.1372, allocations: 457 kB / 0.6443 GB, free: 7.688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.1399, allocations: 1.985 MB / 0.6462 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.1408, allocations: 456.7 kB / 0.6467 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.1412, allocations: 234.1 kB / 0.6469 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1412, allocations: 8.438 kB / 0.6469 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/0.1417, allocations: 265.2 kB / 0.6472 GB, free: 4.664 MB / 494.1 MB Notification: Performance of pre-optimization done (n=49): time 1.994e-06/0.1417, allocations: 0 / 0.6472 GB, free: 4.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.001168/0.1429, allocations: 0.5843 MB / 0.6477 GB, free: 4.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.143, allocations: 55.84 kB / 0.6478 GB, free: 4.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.1434, allocations: 442.1 kB / 0.6482 GB, free: 3.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.1435, allocations: 37.7 kB / 0.6482 GB, free: 3.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.1437, allocations: 325 kB / 0.6486 GB, free: 3.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.1438, allocations: 165.6 kB / 0.6487 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.144, allocations: 94.23 kB / 0.6488 GB, free: 2.934 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1441, allocations: 362.8 kB / 0.6492 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.1444, allocations: 169 kB / 0.6493 GB, free: 2.406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.1448, allocations: 249.8 kB / 0.6496 GB, free: 2.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.1456, allocations: 456 kB / 0.65 GB, free: 1.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.1456, allocations: 4 kB / 0.65 GB, free: 1.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009372/0.1465, allocations: 0.5661 MB / 0.6505 GB, free: 1.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.1466, allocations: 33.95 kB / 0.6506 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1466, allocations: 4 kB / 0.6506 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1466, allocations: 8 kB / 0.6506 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.1471, allocations: 107.9 kB / 0.6507 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1471, allocations: 7.938 kB / 0.6507 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.1474, allocations: 59.5 kB / 0.6508 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.1474, allocations: 16 kB / 0.6508 GB, free: 0.8359 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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 prepare postOptimizeDAE: time 0.0002105/0.1477, allocations: 211.2 kB / 0.651 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.1477, allocations: 63.22 kB / 0.651 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.1479, allocations: 65.58 kB / 0.6511 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1479, allocations: 7.938 kB / 0.6511 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1479, allocations: 4 kB / 0.6511 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1479, allocations: 3.984 kB / 0.6511 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.1494, allocations: 1.174 MB / 0.6523 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1495, allocations: 0 / 0.6523 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.1499, allocations: 95.83 kB / 0.6523 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1499, allocations: 0 / 0.6523 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.15, allocations: 15.98 kB / 0.6524 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.15, allocations: 4 kB / 0.6524 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.15, allocations: 0 / 0.6524 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.1512, allocations: 0.7612 MB / 0.6531 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1513, allocations: 172.3 kB / 0.6533 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.1514, allocations: 8 kB / 0.6533 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.1517, allocations: 23.97 kB / 0.6533 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.1518, allocations: 36.39 kB / 0.6533 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1518, allocations: 16 kB / 0.6534 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003013/0.1521, allocations: 310.9 kB / 0.6537 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1521, allocations: 0 / 0.6537 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003781/0.1525, allocations: 139.5 kB / 0.6538 GB, free: 13.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001418/0.1539, allocations: 1.317 MB / 0.6551 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008076/0.1547, allocations: 489.5 kB / 0.6555 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1547, allocations: 0 / 0.6555 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.1551, allocations: 214.4 kB / 0.6557 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.1558, allocations: 158.8 kB / 0.6559 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006473/0.1623, allocations: 4.776 MB / 0.6606 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.1627, allocations: 0.8899 MB / 0.6614 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002533/0.163, allocations: 68.58 kB / 0.6615 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.1633, allocations: 223.3 kB / 0.6617 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of SimCode: time 7.32e-07/0.1633, allocations: 0 / 0.6617 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.1941, allocations: 11.49 MB / 0.6729 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.56, allocations: 7.516 kB / 0.6729 GB, free: 10.02 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)