Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 185.9 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.6831/0.6831, allocations: 82.93 MB / 99.42 MB, free: 3.27 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.135/2.135, allocations: 205.4 MB / 325.4 MB, free: 3.348 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.001064/0.001064, allocations: 92.8 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004763, allocations: 16 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09186, allocations: 67.45 MB / 0.5263 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004693/0.0966, allocations: 3.135 MB / 0.5294 GB, free: 11.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.09971, allocations: 1.256 MB / 0.5306 GB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.1003, allocations: 19.88 kB / 0.5306 GB, free: 10.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.1005, allocations: 51.39 kB / 0.5307 GB, free: 10.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007418/0.1012, allocations: 191.3 kB / 0.5309 GB, free: 10.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1028, allocations: 469.2 kB / 0.5313 GB, free: 9.945 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.1042, allocations: 0.6061 MB / 0.5319 GB, free: 9.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005319/0.1048, allocations: 255.1 kB / 0.5322 GB, free: 9.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005317/0.1053, allocations: 302.5 kB / 0.5325 GB, free: 8.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.1057, allocations: 258.4 kB / 0.5327 GB, free: 8.527 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/0.1058, allocations: 20 kB / 0.5327 GB, free: 8.508 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.1059, allocations: 24 kB / 0.5327 GB, free: 8.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.106, allocations: 103.4 kB / 0.5328 GB, free: 8.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.1062, allocations: 141.3 kB / 0.533 GB, free: 8.238 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008015/0.107, allocations: 0.6237 MB / 0.5336 GB, free: 7.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.107, allocations: 0 / 0.5336 GB, free: 7.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.905e-06/0.1071, allocations: 3.984 kB / 0.5336 GB, free: 7.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1071, allocations: 4 kB / 0.5336 GB, free: 7.605 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002318/0.1094, allocations: 1.063 MB / 0.5346 GB, free: 6.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1095, allocations: 8.031 kB / 0.5346 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.1097, allocations: 94.88 kB / 0.5347 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.111, allocations: 0.5745 MB / 0.5353 GB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.1112, allocations: 100.4 kB / 0.5354 GB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.1113, allocations: 56 kB / 0.5354 GB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.1128, allocations: 0.604 MB / 0.536 GB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1129, allocations: 0 / 0.536 GB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.113, allocations: 28 kB / 0.5361 GB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.113, allocations: 12 kB / 0.5361 GB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.1144, allocations: 439.6 kB / 0.5365 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004088/0.1185, allocations: 2.133 MB / 0.5386 GB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.1204, allocations: 0.5424 MB / 0.5391 GB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.1205, allocations: 4 kB / 0.5391 GB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009484/0.1215, allocations: 293.9 kB / 0.5394 GB, free: 1.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 4.762e-06/0.1215, allocations: 0 / 0.5394 GB, free: 1.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002144/0.1236, allocations: 0.6375 MB / 0.54 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.1238, allocations: 96.73 kB / 0.5401 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.125, allocations: 0.6061 MB / 0.5407 GB, free: 40 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.1252, allocations: 37.75 kB / 0.5407 GB, free: 15.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.1256, allocations: 364.6 kB / 0.5411 GB, free: 15.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.1258, allocations: 153.8 kB / 0.5412 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.1259, allocations: 8 kB / 0.5412 GB, free: 15.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1261, allocations: 326 kB / 0.5415 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/0.1268, allocations: 185 kB / 0.5417 GB, free: 14.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007356/0.1275, allocations: 284.2 kB / 0.542 GB, free: 14.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.1283, allocations: 234.4 kB / 0.5422 GB, free: 14.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.44e-06/0.1283, allocations: 4 kB / 0.5422 GB, free: 14.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001778/0.1301, allocations: 0.6099 MB / 0.5428 GB, free: 13.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005787/0.1307, allocations: 0.9947 MB / 0.5438 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.1308, allocations: 4 kB / 0.5438 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.1308, allocations: 7.953 kB / 0.5438 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.1315, allocations: 115.8 kB / 0.5439 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.1315, allocations: 4 kB / 0.5439 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.1321, allocations: 75.41 kB / 0.544 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.1322, allocations: 16 kB / 0.544 GB, free: 12.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1322, allocations: 7.438 kB / 0.544 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/0.1337, allocations: 0.4998 MB / 0.5445 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1338, allocations: 4 kB / 0.5445 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1338, allocations: 4 kB / 0.5445 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.1344, allocations: 107.8 kB / 0.5446 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.1344, allocations: 8.25 kB / 0.5446 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.135, allocations: 63.5 kB / 0.5447 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.1351, allocations: 20 kB / 0.5447 GB, free: 11.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0004772/0.1356, allocations: 273 kB / 0.5449 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.1357, allocations: 75.06 kB / 0.545 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.1359, allocations: 87.27 kB / 0.5451 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.184e-06/0.1359, allocations: 8 kB / 0.5451 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.598e-06/0.136, allocations: 0 / 0.5451 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.136, allocations: 3.984 kB / 0.5451 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009827/0.137, allocations: 0.6219 MB / 0.5457 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.551e-06/0.137, allocations: 0 / 0.5457 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.1377, allocations: 87.88 kB / 0.5458 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.746e-06/0.1377, allocations: 0 / 0.5458 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.1377, allocations: 12 kB / 0.5458 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.106e-06/0.1378, allocations: 0 / 0.5458 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-06/0.1378, allocations: 4 kB / 0.5458 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.1399, allocations: 0.7561 MB / 0.5466 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.1404, allocations: 192.2 kB / 0.5467 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1405, allocations: 15.94 kB / 0.5468 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.141, allocations: 39.95 kB / 0.5468 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.1412, allocations: 31.95 kB / 0.5468 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.1412, allocations: 19.98 kB / 0.5468 GB, free: 9.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007324/0.142, allocations: 431 kB / 0.5473 GB, free: 9.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.142, allocations: 0 / 0.5473 GB, free: 9.055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009161/0.1429, allocations: 215.3 kB / 0.5475 GB, free: 8.844 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001985/0.1432, allocations: 119 kB / 0.5476 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.1455, allocations: 0.8046 MB / 0.5484 GB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.168e-06/0.1456, allocations: 0 / 0.5484 GB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007007/0.1463, allocations: 228 kB / 0.5486 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.1474, allocations: 182.5 kB / 0.5487 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.1506, allocations: 1.397 MB / 0.5501 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/0.1513, allocations: 0.9378 MB / 0.551 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000623/0.1519, allocations: 85.2 kB / 0.5511 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.1521, allocations: 51.42 kB / 0.5512 GB, free: 4.973 MB / 394.7 MB Notification: Performance of SimCode: time 1.736e-06/0.1522, allocations: 3.938 kB / 0.5512 GB, free: 4.969 MB / 394.7 MB Notification: Performance of Templates: time 0.02045/0.1726, allocations: 6.876 MB / 0.5579 GB, free: 14.16 MB / 410.7 MB