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.001238/0.001238, allocations: 118.7 kB / 17.09 MB, free: 6.008 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.001253/0.001253, allocations: 193.6 kB / 18.02 MB, free: 5.094 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.232/1.232, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6637/0.6637, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 62.83 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1138, allocations: 76.17 MB / 0.6327 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003893/0.1178, allocations: 2.966 MB / 0.6356 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1192, allocations: 0.9119 MB / 0.6365 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.1194, allocations: 11.94 kB / 0.6365 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1196, allocations: 63.33 kB / 0.6366 GB, free: 476 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.1198, allocations: 91.17 kB / 0.6367 GB, free: 384 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.1202, allocations: 217.9 kB / 0.6369 GB, free: 168 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.1207, allocations: 499.1 kB / 0.6373 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.121, allocations: 225.5 kB / 0.6376 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1212, allocations: 179.2 kB / 0.6377 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1214, allocations: 187 kB / 0.6379 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.782e-05/0.1215, allocations: 44 kB / 0.6379 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.1215, allocations: 44 kB / 0.638 GB, free: 15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.1216, allocations: 87.64 kB / 0.6381 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1217, allocations: 202.9 kB / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.1222, allocations: 0.5059 MB / 0.6388 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1222, allocations: 0 / 0.6388 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1222, allocations: 0 / 0.6388 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1222, allocations: 0 / 0.6388 GB, free: 14.21 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.001002/0.1232, allocations: 0.7168 MB / 0.6395 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1232, allocations: 8.031 kB / 0.6395 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.1233, allocations: 52.28 kB / 0.6395 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.1239, allocations: 400.4 kB / 0.6399 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.1239, allocations: 21.03 kB / 0.6399 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.124, allocations: 32.38 kB / 0.6399 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.1245, allocations: 341.4 kB / 0.6403 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1245, allocations: 0 / 0.6403 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.1246, allocations: 12 kB / 0.6403 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1246, allocations: 8 kB / 0.6403 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.1251, allocations: 210.1 kB / 0.6405 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.1264, allocations: 1.186 MB / 0.6416 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.127, allocations: 226.8 kB / 0.6419 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.1272, allocations: 120.7 kB / 0.642 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1273, allocations: 4 kB / 0.642 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1273, allocations: 38.94 kB / 0.642 GB, free: 10.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.1273, allocations: 0 / 0.642 GB, free: 10.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006725/0.128, allocations: 289.1 kB / 0.6423 GB, free: 10.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.128, allocations: 102.8 kB / 0.6424 GB, free: 10.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.1284, allocations: 353.5 kB / 0.6427 GB, free: 9.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.1284, allocations: 29.7 kB / 0.6428 GB, free: 9.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1286, allocations: 224.2 kB / 0.643 GB, free: 9.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.1286, allocations: 74.91 kB / 0.643 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.1287, allocations: 49.7 kB / 0.6431 GB, free: 9.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1288, allocations: 342.8 kB / 0.6434 GB, free: 9.148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.129, allocations: 79.89 kB / 0.6435 GB, free: 9.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1292, allocations: 143.7 kB / 0.6436 GB, free: 8.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.1296, allocations: 209.4 kB / 0.6438 GB, free: 8.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1296, allocations: 3.938 kB / 0.6438 GB, free: 8.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005099/0.1301, allocations: 288.9 kB / 0.6441 GB, free: 8.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1302, allocations: 4 kB / 0.6441 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1302, allocations: 4 kB / 0.6441 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1302, allocations: 4 kB / 0.6441 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1304, allocations: 51.91 kB / 0.6442 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1304, allocations: 4 kB / 0.6442 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.1306, allocations: 35.77 kB / 0.6442 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.1306, allocations: 12 kB / 0.6442 GB, free: 8.273 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.0001472/0.1308, allocations: 157.9 kB / 0.6444 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.1309, allocations: 39.47 kB / 0.6444 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/0.1309, allocations: 39.36 kB / 0.6444 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.131, allocations: 3.984 kB / 0.6445 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.131, allocations: 0 / 0.6445 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1311, allocations: 128.6 kB / 0.6446 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.1311, allocations: 8 kB / 0.6446 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.1313, allocations: 15.98 kB / 0.6446 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.1314, allocations: 27.91 kB / 0.6446 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006054/0.132, allocations: 298 kB / 0.6449 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006638/0.1327, allocations: 0.4944 MB / 0.6454 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001736/0.1328, allocations: 87.98 kB / 0.6455 GB, free: 6.941 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.1331, allocations: 243.2 kB / 0.6457 GB, free: 6.707 MB / 494.1 MB Notification: Performance of Backend: time 3.3e-07/0.1331, allocations: 0 / 0.6457 GB, free: 6.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.1337, allocations: 215.5 kB / 0.6459 GB, free: 6.496 MB / 494.1 MB Notification: Performance of SimCode: time 0.001217/0.1349, allocations: 1.146 MB / 0.647 GB, free: 5.309 MB / 494.1 MB Notification: Performance of Templates: time 0.006981/0.1419, allocations: 3.664 MB / 0.6506 GB, free: 1.672 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)