Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.00138, allocations: 187.2 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8856/0.8856, allocations: 82.93 MB / 99.42 MB, free: 3.301 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.309/2.309, allocations: 205.4 MB / 325.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 86.86 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004509, allocations: 12 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0915/0.09198, allocations: 67.43 MB / 0.5263 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005897/0.09792, allocations: 3.677 MB / 0.5299 GB, free: 11.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.102, allocations: 1.489 MB / 0.5314 GB, free: 9.895 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007418/0.1027, allocations: 31.81 kB / 0.5314 GB, free: 9.863 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1029, allocations: 63.19 kB / 0.5315 GB, free: 9.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009349/0.1039, allocations: 258.6 kB / 0.5317 GB, free: 9.551 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.1057, allocations: 0.5136 MB / 0.5322 GB, free: 9.047 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.1074, allocations: 0.7821 MB / 0.533 GB, free: 8.266 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000715/0.1082, allocations: 359.3 kB / 0.5333 GB, free: 7.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.1089, allocations: 362.2 kB / 0.5337 GB, free: 7.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.1094, allocations: 333.9 kB / 0.534 GB, free: 7.215 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.1095, allocations: 28 kB / 0.534 GB, free: 7.188 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1096, allocations: 24 kB / 0.534 GB, free: 7.164 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.1098, allocations: 143.2 kB / 0.5342 GB, free: 7.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.11, allocations: 173.1 kB / 0.5343 GB, free: 6.848 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.1111, allocations: 0.8107 MB / 0.5351 GB, free: 6.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.391e-06/0.1111, allocations: 0 / 0.5351 GB, free: 6.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.408e-06/0.1111, allocations: 0 / 0.5351 GB, free: 6.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.1112, allocations: 0 / 0.5351 GB, free: 6.035 MB / 378.7 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.002728/0.1139, allocations: 1.248 MB / 0.5363 GB, free: 4.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.114, allocations: 12.03 kB / 0.5364 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.1142, allocations: 122.5 kB / 0.5365 GB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.1159, allocations: 0.7074 MB / 0.5372 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.1161, allocations: 83.7 kB / 0.5372 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.1162, allocations: 64 kB / 0.5373 GB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.1181, allocations: 0.7405 MB / 0.538 GB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.1181, allocations: 7.938 kB / 0.538 GB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/0.1182, allocations: 28 kB / 0.5381 GB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.1182, allocations: 19.98 kB / 0.5381 GB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.1199, allocations: 0.5282 MB / 0.5386 GB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/0.1249, allocations: 2.287 MB / 0.5408 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.1271, allocations: 0.6427 MB / 0.5415 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.784e-05/0.1272, allocations: 12.5 kB / 0.5415 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009747/0.1282, allocations: 331.1 kB / 0.5418 GB, free: 14.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 4.249e-06/0.1282, allocations: 0 / 0.5418 GB, free: 14.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.00236/0.1306, allocations: 0.7677 MB / 0.5425 GB, free: 14.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.1307, allocations: 85.67 kB / 0.5426 GB, free: 14.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.1321, allocations: 0.7519 MB / 0.5433 GB, free: 13.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.54e-05/0.1322, allocations: 37.7 kB / 0.5434 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.1327, allocations: 444.4 kB / 0.5438 GB, free: 12.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.1329, allocations: 201 kB / 0.544 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.133, allocations: 16 kB / 0.544 GB, free: 12.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1332, allocations: 330 kB / 0.5443 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.1339, allocations: 209.2 kB / 0.5445 GB, free: 12.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.1347, allocations: 304.4 kB / 0.5448 GB, free: 11.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000723/0.1354, allocations: 234.2 kB / 0.545 GB, free: 11.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.218e-06/0.1355, allocations: 0 / 0.545 GB, free: 11.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001896/0.1374, allocations: 0.6696 MB / 0.5457 GB, free: 10.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005133/0.1379, allocations: 0.8752 MB / 0.5466 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.85e-06/0.1379, allocations: 0 / 0.5466 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.138, allocations: 8 kB / 0.5466 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.1389, allocations: 147.8 kB / 0.5467 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.1389, allocations: 7.953 kB / 0.5467 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/0.1395, allocations: 79.34 kB / 0.5468 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.1396, allocations: 24 kB / 0.5468 GB, free: 9.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1396, allocations: 4 kB / 0.5468 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001527/0.1412, allocations: 0.5246 MB / 0.5473 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.418e-06/0.1412, allocations: 0 / 0.5473 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1412, allocations: 8 kB / 0.5473 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/0.1421, allocations: 139.8 kB / 0.5475 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1421, allocations: 4 kB / 0.5475 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.1427, allocations: 71.7 kB / 0.5475 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.1428, allocations: 23.98 kB / 0.5476 GB, free: 8.887 MB / 394.7 MB 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005629/0.1434, allocations: 305.4 kB / 0.5479 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.1436, allocations: 94.81 kB / 0.5479 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.1438, allocations: 101.3 kB / 0.548 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.1438, allocations: 8 kB / 0.548 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.85e-06/0.1439, allocations: 3.938 kB / 0.548 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.1439, allocations: 7.984 kB / 0.5481 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/0.1471, allocations: 1.45 MB / 0.5495 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.553e-06/0.1471, allocations: 0 / 0.5495 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.1479, allocations: 111.8 kB / 0.5496 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.553e-06/0.1479, allocations: 0 / 0.5496 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.148, allocations: 15.98 kB / 0.5496 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.219e-06/0.148, allocations: 8 kB / 0.5496 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.577e-06/0.148, allocations: 4 kB / 0.5496 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.1506, allocations: 0.9708 MB / 0.5506 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/0.1511, allocations: 227.7 kB / 0.5508 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.1513, allocations: 12 kB / 0.5508 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.1519, allocations: 43.97 kB / 0.5508 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.152, allocations: 36.5 kB / 0.5509 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.1521, allocations: 16 kB / 0.5509 GB, free: 5.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009667/0.1531, allocations: 0.5186 MB / 0.5514 GB, free: 4.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.1531, allocations: 0 / 0.5514 GB, free: 4.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001055/0.1541, allocations: 275.1 kB / 0.5516 GB, free: 4.586 MB / 394.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.1543, allocations: 111.2 kB / 0.5517 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002362/0.1567, allocations: 0.7997 MB / 0.5525 GB, free: 3.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1568, allocations: 0.625 kB / 0.5525 GB, free: 3.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007786/0.1575, allocations: 275.1 kB / 0.5528 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.1589, allocations: 235.5 kB / 0.553 GB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.1628, allocations: 1.835 MB / 0.5548 GB, free: 1.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008058/0.1636, allocations: 1.021 MB / 0.5558 GB, free: 264 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007842/0.1644, allocations: 118.8 kB / 0.5559 GB, free: 140 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.1647, allocations: 59.42 kB / 0.556 GB, free: 84 kB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/0.1647, allocations: 0 / 0.556 GB, free: 84 kB / 394.7 MB Notification: Performance of Templates: time 0.02494/0.1896, allocations: 8.4 MB / 0.5642 GB, free: 7.77 MB / 410.7 MB