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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009003/0.0009002, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4858/0.4858, allocations: 90.91 MB / 99.34 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008708/0.0008709, allocations: 90.91 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.566e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1611, allocations: 72.33 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5241/0.6852, allocations: 107.7 MB / 0.6587 GB, free: 2.594 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.6855, allocations: 89.55 kB / 0.6588 GB, free: 2.543 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01791/0.7035, allocations: 6.819 MB / 0.6655 GB, free: 12.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7035, allocations: 0 / 0.6655 GB, free: 12.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.677e-05/0.7036, allocations: 12 kB / 0.6655 GB, free: 12.9 MB / 474.7 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.0009834/0.7046, allocations: 0.5946 MB / 0.6661 GB, free: 12.29 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.7046, allocations: 8.031 kB / 0.6661 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.7048, allocations: 47.44 kB / 0.6661 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006115/0.7054, allocations: 381.7 kB / 0.6665 GB, free: 11.87 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.7054, allocations: 8 kB / 0.6665 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.7055, allocations: 26.88 kB / 0.6665 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000365/0.7059, allocations: 181.9 kB / 0.6667 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.7063, allocations: 303.6 kB / 0.667 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.7064, allocations: 0 / 0.667 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.7064, allocations: 0 / 0.667 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.7064, allocations: 8 kB / 0.667 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.7081, allocations: 1.18 MB / 0.6681 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.7086, allocations: 219.9 kB / 0.6684 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.7087, allocations: 104 kB / 0.6685 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.7088, allocations: 4.188 kB / 0.6685 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.7088, allocations: 38.56 kB / 0.6685 GB, free: 10.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.7088, allocations: 0 / 0.6685 GB, free: 10.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004048/0.7092, allocations: 202.9 kB / 0.6687 GB, free: 10.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.7093, allocations: 158.2 kB / 0.6688 GB, free: 9.836 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.7096, allocations: 267.1 kB / 0.6691 GB, free: 9.621 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.7097, allocations: 25.7 kB / 0.6691 GB, free: 9.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.7098, allocations: 224 kB / 0.6693 GB, free: 9.418 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.7099, allocations: 71.55 kB / 0.6694 GB, free: 9.355 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.7099, allocations: 0 / 0.6694 GB, free: 9.355 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7101, allocations: 344.4 kB / 0.6697 GB, free: 9.023 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.7102, allocations: 67.56 kB / 0.6698 GB, free: 8.988 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.7104, allocations: 139.3 kB / 0.6699 GB, free: 8.863 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.7105, allocations: 78.19 kB / 0.67 GB, free: 8.816 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.7105, allocations: 0 / 0.67 GB, free: 8.816 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003671/0.7109, allocations: 231.1 kB / 0.6702 GB, free: 8.641 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.7109, allocations: 17.64 kB / 0.6702 GB, free: 8.625 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.7109, allocations: 0 / 0.6702 GB, free: 8.625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.711, allocations: 4 kB / 0.6702 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.7112, allocations: 51.91 kB / 0.6703 GB, free: 8.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.7112, allocations: 4 kB / 0.6703 GB, free: 8.566 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.7114, allocations: 35.83 kB / 0.6703 GB, free: 8.531 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.7115, allocations: 15.11 kB / 0.6703 GB, free: 8.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001427/0.7116, allocations: 112.9 kB / 0.6704 GB, free: 8.402 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.7117, allocations: 31.62 kB / 0.6705 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.7118, allocations: 39.02 kB / 0.6705 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7118, allocations: 0 / 0.6705 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7118, allocations: 7.938 kB / 0.6705 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7118, allocations: 0 / 0.6705 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.7122, allocations: 368.9 kB / 0.6709 GB, free: 8.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.7122, allocations: 0 / 0.6709 GB, free: 8.023 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.7125, allocations: 51.91 kB / 0.6709 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7125, allocations: 0 / 0.6709 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.7125, allocations: 7.688 kB / 0.6709 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7125, allocations: 0 / 0.6709 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.7125, allocations: 7.891 kB / 0.6709 GB, free: 7.961 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.7131, allocations: 404.1 kB / 0.6713 GB, free: 7.652 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.7132, allocations: 129.9 kB / 0.6714 GB, free: 7.523 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.7133, allocations: 4.031 kB / 0.6715 GB, free: 7.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.7135, allocations: 31.88 kB / 0.6715 GB, free: 7.488 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.7136, allocations: 19.22 kB / 0.6715 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.7136, allocations: 7.953 kB / 0.6715 GB, free: 7.465 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.7138, allocations: 213.2 kB / 0.6717 GB, free: 7.305 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7138, allocations: 0 / 0.6717 GB, free: 7.305 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.7142, allocations: 63.78 kB / 0.6718 GB, free: 7.242 MB / 474.7 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) * 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 (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.0001482/0.7143, allocations: 99.23 kB / 0.6719 GB, free: 7.137 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.7147, allocations: 179.9 kB / 0.672 GB, free: 7.023 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7147, allocations: 0 / 0.672 GB, free: 7.023 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.7148, allocations: 87.44 kB / 0.6721 GB, free: 6.969 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.7153, allocations: 60.23 kB / 0.6722 GB, free: 6.918 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.7163, allocations: 0.5064 MB / 0.6727 GB, free: 6.445 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.7167, allocations: 0.8028 MB / 0.6735 GB, free: 5.617 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.7169, allocations: 35.28 kB / 0.6735 GB, free: 5.586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.717, allocations: 23.44 kB / 0.6735 GB, free: 5.562 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/0.717, allocations: 0 / 0.6735 GB, free: 5.562 MB / 474.7 MB Notification: Performance of Templates: time 0.006973/0.724, allocations: 2.998 MB / 0.6764 GB, free: 2.609 MB / 474.7 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)