Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108.4 kB / 16.4 MB, free: 6.465 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.001852/0.001853, allocations: 193.3 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7661/0.7661, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 65.47 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1745, allocations: 76.18 MB / 0.632 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005343/0.1799, allocations: 2.966 MB / 0.6349 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.1823, allocations: 0.9118 MB / 0.6358 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006183/0.183, allocations: 15.94 kB / 0.6359 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.1834, allocations: 67.31 kB / 0.6359 GB, free: 444 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005416/0.184, allocations: 87.19 kB / 0.636 GB, free: 356 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007348/0.1847, allocations: 222.2 kB / 0.6362 GB, free: 136 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007909/0.1856, allocations: 0.4915 MB / 0.6367 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.186, allocations: 213.5 kB / 0.6369 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.1864, allocations: 187.1 kB / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.1867, allocations: 175.1 kB / 0.6372 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-05/0.1868, allocations: 44 kB / 0.6373 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.1869, allocations: 40 kB / 0.6373 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.187, allocations: 99.56 kB / 0.6374 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.1872, allocations: 202.9 kB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007042/0.188, allocations: 0.5137 MB / 0.6381 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.188, allocations: 0 / 0.6381 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.188, allocations: 0 / 0.6381 GB, free: 14.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.188, allocations: 4 kB / 0.6381 GB, free: 14.17 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001527/0.1896, allocations: 0.7051 MB / 0.6388 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1896, allocations: 8.031 kB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1897, allocations: 56.28 kB / 0.6389 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.1904, allocations: 396.4 kB / 0.6392 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.1905, allocations: 21.03 kB / 0.6393 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.1905, allocations: 32.38 kB / 0.6393 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.1911, allocations: 341.4 kB / 0.6396 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1912, allocations: 0 / 0.6396 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.1912, allocations: 12 kB / 0.6396 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.1912, allocations: 8 kB / 0.6396 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.1917, allocations: 214.1 kB / 0.6398 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.1933, allocations: 1.182 MB / 0.641 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.1939, allocations: 234.7 kB / 0.6412 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.1942, allocations: 112.8 kB / 0.6413 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.1942, allocations: 0 / 0.6413 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1943, allocations: 34.94 kB / 0.6414 GB, free: 10.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.1943, allocations: 0 / 0.6414 GB, free: 10.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006974/0.195, allocations: 297 kB / 0.6416 GB, free: 10.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.1951, allocations: 106.8 kB / 0.6417 GB, free: 10.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.1954, allocations: 345.5 kB / 0.6421 GB, free: 9.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1955, allocations: 29.7 kB / 0.6421 GB, free: 9.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1957, allocations: 232.1 kB / 0.6423 GB, free: 9.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.1957, allocations: 74.91 kB / 0.6424 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.1958, allocations: 49.7 kB / 0.6424 GB, free: 9.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.196, allocations: 346.8 kB / 0.6428 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1962, allocations: 75.97 kB / 0.6428 GB, free: 9.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.1964, allocations: 143.6 kB / 0.643 GB, free: 8.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.1968, allocations: 209.4 kB / 0.6432 GB, free: 8.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1968, allocations: 0 / 0.6432 GB, free: 8.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005673/0.1974, allocations: 288.8 kB / 0.6435 GB, free: 8.359 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1975, allocations: 4 kB / 0.6435 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.1975, allocations: 4 kB / 0.6435 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1975, allocations: 4 kB / 0.6435 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.1977, allocations: 55.91 kB / 0.6435 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1978, allocations: 4 kB / 0.6435 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.198, allocations: 31.95 kB / 0.6436 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.198, allocations: 16 kB / 0.6436 GB, free: 8.242 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001775/0.1982, allocations: 161.7 kB / 0.6437 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.1982, allocations: 39.52 kB / 0.6438 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.1983, allocations: 35.36 kB / 0.6438 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1983, allocations: 4 kB / 0.6438 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1984, allocations: 0 / 0.6438 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1984, allocations: 0 / 0.6438 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.1988, allocations: 393.2 kB / 0.6442 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1988, allocations: 4 kB / 0.6442 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.1991, allocations: 43.97 kB / 0.6442 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1991, allocations: 4 kB / 0.6442 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1991, allocations: 4 kB / 0.6442 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1991, allocations: 3.938 kB / 0.6442 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1991, allocations: 0 / 0.6442 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.1998, allocations: 425.1 kB / 0.6446 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2, allocations: 136.6 kB / 0.6448 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.2, allocations: 4 kB / 0.6448 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.2002, allocations: 11.98 kB / 0.6448 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.2003, allocations: 19.97 kB / 0.6448 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2003, allocations: 4 kB / 0.6448 GB, free: 6.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.2005, allocations: 243.2 kB / 0.645 GB, free: 6.648 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2006, allocations: 3.938 kB / 0.645 GB, free: 6.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003381/0.2009, allocations: 71.91 kB / 0.6451 GB, free: 6.574 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001374/0.201, allocations: 103.2 kB / 0.6452 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.2015, allocations: 200.9 kB / 0.6454 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2015, allocations: 0 / 0.6454 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.2017, allocations: 104.2 kB / 0.6455 GB, free: 6.172 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.2023, allocations: 90.89 kB / 0.6456 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.2036, allocations: 0.6829 MB / 0.6463 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.204, allocations: 0.7912 MB / 0.647 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.2041, allocations: 46.94 kB / 0.6471 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.2042, allocations: 31.44 kB / 0.6471 GB, free: 4.484 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2042, allocations: 0 / 0.6471 GB, free: 4.484 MB / 494.1 MB Notification: Performance of Templates: time 0.007853/0.2121, allocations: 3.233 MB / 0.6503 GB, free: 1.281 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)