Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",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.001075/0.001075, allocations: 108 kB / 16.4 MB, free: 6.461 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.001061/0.001061, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.173/1.173, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.657/0.657, allocations: 115.3 MB / 406.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 68.78 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1086, allocations: 76.18 MB / 0.6316 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004324/0.1129, allocations: 4.322 MB / 0.6358 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1151, allocations: 1.582 MB / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.1155, allocations: 35.81 kB / 0.6374 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.1158, allocations: 166.2 kB / 0.6375 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.1163, allocations: 240.8 kB / 0.6377 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1173, allocations: 0.6639 MB / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009522/0.1183, allocations: 1.222 MB / 0.6396 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.1189, allocations: 0.4962 MB / 0.6401 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/0.1193, allocations: 478 kB / 0.6405 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.1197, allocations: 461.4 kB / 0.641 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.1198, allocations: 100 kB / 0.6411 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1199, allocations: 104 kB / 0.6412 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1201, allocations: 235 kB / 0.6414 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002971/0.1204, allocations: 489.1 kB / 0.6418 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007999/0.1212, allocations: 1.163 MB / 0.643 GB, free: 9.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1212, allocations: 4 kB / 0.643 GB, free: 9.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1212, allocations: 0 / 0.643 GB, free: 9.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1212, allocations: 0 / 0.643 GB, free: 9.18 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001931/0.1232, allocations: 1.395 MB / 0.6443 GB, free: 7.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1232, allocations: 8.031 kB / 0.6444 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.1233, allocations: 110.7 kB / 0.6445 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.1235, allocations: 115.5 kB / 0.6446 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.1245, allocations: 0.7664 MB / 0.6453 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.1246, allocations: 92.25 kB / 0.6454 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.1247, allocations: 64.38 kB / 0.6455 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.1257, allocations: 0.7328 MB / 0.6462 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1257, allocations: 0 / 0.6462 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.1258, allocations: 31.98 kB / 0.6462 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1258, allocations: 16 kB / 0.6462 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.1268, allocations: 0.5204 MB / 0.6467 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.1294, allocations: 2.247 MB / 0.6489 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.1306, allocations: 0.6308 MB / 0.6495 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.1311, allocations: 281.9 kB / 0.6498 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.1311, allocations: 12.53 kB / 0.6498 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005516/0.1317, allocations: 327 kB / 0.6501 GB, free: 1.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 1.753e-06/0.1317, allocations: 0 / 0.6501 GB, free: 1.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=60): time 0.001341/0.133, allocations: 0.7477 MB / 0.6509 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1331, allocations: 89.59 kB / 0.651 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.1338, allocations: 0.7518 MB / 0.6517 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.1339, allocations: 37.7 kB / 0.6517 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.1341, allocations: 436.4 kB / 0.6521 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.1343, allocations: 212.9 kB / 0.6523 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.1344, allocations: 110.2 kB / 0.6525 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.1345, allocations: 326 kB / 0.6528 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.1349, allocations: 211.4 kB / 0.653 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.1354, allocations: 308.4 kB / 0.6533 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.1362, allocations: 0.5113 MB / 0.6538 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1362, allocations: 0 / 0.6538 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001023/0.1372, allocations: 0.6463 MB / 0.6544 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1372, allocations: 8 kB / 0.6544 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1373, allocations: 4 kB / 0.6544 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1373, allocations: 4 kB / 0.6544 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/0.1379, allocations: 143.8 kB / 0.6545 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.1379, allocations: 15.88 kB / 0.6546 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.1383, allocations: 71.59 kB / 0.6546 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.1383, allocations: 20 kB / 0.6546 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000508/0.1388, allocations: 357.4 kB / 0.655 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000399/0.1392, allocations: 288.5 kB / 0.6553 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007428/0.14, allocations: 491.7 kB / 0.6557 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.14, allocations: 4 kB / 0.6557 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009472/0.1409, allocations: 0.6304 MB / 0.6563 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-06/0.141, allocations: 5.406 kB / 0.6564 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.141, allocations: 4 kB / 0.6564 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-06/0.141, allocations: 4.25 kB / 0.6564 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.1415, allocations: 147.8 kB / 0.6565 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1416, allocations: 7.984 kB / 0.6565 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.1419, allocations: 63.45 kB / 0.6566 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1419, allocations: 20 kB / 0.6566 GB, free: 10.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001337/0.1421, allocations: 216.1 kB / 0.6568 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.1422, allocations: 94.78 kB / 0.6569 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.1424, allocations: 109.2 kB / 0.657 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1424, allocations: 11.98 kB / 0.657 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1424, allocations: 3.938 kB / 0.657 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1424, allocations: 3.984 kB / 0.657 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.1442, allocations: 1.435 MB / 0.6584 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1442, allocations: 3.938 kB / 0.6584 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.1447, allocations: 99.88 kB / 0.6585 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1448, allocations: 7.938 kB / 0.6585 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.1448, allocations: 15.94 kB / 0.6585 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1448, allocations: 7.984 kB / 0.6585 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1448, allocations: 0 / 0.6585 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.1463, allocations: 0.9633 MB / 0.6595 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.1465, allocations: 215.8 kB / 0.6597 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.1466, allocations: 16 kB / 0.6597 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.147, allocations: 35.95 kB / 0.6597 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.147, allocations: 36.52 kB / 0.6598 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.1471, allocations: 19.98 kB / 0.6598 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005112/0.1476, allocations: 0.5107 MB / 0.6603 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1476, allocations: 0 / 0.6603 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005798/0.1482, allocations: 275.1 kB / 0.6606 GB, free: 6.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001627/0.1498, allocations: 1.535 MB / 0.662 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.1511, allocations: 0.7919 MB / 0.6628 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1511, allocations: 0 / 0.6628 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.1516, allocations: 267.1 kB / 0.6631 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009692/0.1526, allocations: 262.5 kB / 0.6633 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00765/0.1602, allocations: 6.53 MB / 0.6697 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.1607, allocations: 0.9898 MB / 0.6707 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003914/0.1611, allocations: 126.8 kB / 0.6708 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.1615, allocations: 343.3 kB / 0.6711 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.1615, allocations: 0 / 0.6711 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.1983, allocations: 17.77 MB / 0.6885 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.691/8.89, allocations: 3.984 kB / 0.6885 GB, free: 10.01 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)