Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6749/0.6749, allocations: 117.9 MB / 133.9 MB, free: 4.512 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 186.6 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 394.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 97.14 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004536, allocations: 12 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3829, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.5713, allocations: 109.8 MB / 0.7224 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.5715, allocations: 87.95 kB / 0.7224 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02069/0.5922, allocations: 7.942 MB / 0.7302 GB, free: 88 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5923, allocations: 0 / 0.7302 GB, free: 88 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.973e-05/0.5924, allocations: 8 kB / 0.7302 GB, free: 80 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00157/0.5939, allocations: 0.6996 MB / 0.7309 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.594, allocations: 16.03 kB / 0.7309 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.5942, allocations: 60.22 kB / 0.731 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007777/0.595, allocations: 416.7 kB / 0.7314 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.5951, allocations: 29.38 kB / 0.7314 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.5952, allocations: 40.38 kB / 0.7314 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.596, allocations: 431 kB / 0.7318 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.596, allocations: 7.938 kB / 0.7318 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.5961, allocations: 19.98 kB / 0.7319 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.5961, allocations: 8 kB / 0.7319 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.5968, allocations: 300 kB / 0.7322 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.5991, allocations: 1.383 MB / 0.7335 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/0.5999, allocations: 362.2 kB / 0.7339 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.6003, allocations: 148.8 kB / 0.734 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.6003, allocations: 4 kB / 0.734 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.6008, allocations: 201.4 kB / 0.7342 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.776e-06/0.6009, allocations: 0 / 0.7342 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001032/0.6019, allocations: 430.7 kB / 0.7346 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.602, allocations: 140.5 kB / 0.7347 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.6026, allocations: 357.6 kB / 0.7351 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.6026, allocations: 37.7 kB / 0.7351 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.6029, allocations: 228.1 kB / 0.7353 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.603, allocations: 106.5 kB / 0.7354 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.603, allocations: 8 kB / 0.7354 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6032, allocations: 350.8 kB / 0.7358 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.6036, allocations: 115.9 kB / 0.7359 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.6039, allocations: 195.8 kB / 0.7361 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.6045, allocations: 274.1 kB / 0.7363 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6045, allocations: 0 / 0.7363 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007229/0.6052, allocations: 381.7 kB / 0.7367 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.6054, allocations: 120.6 kB / 0.7368 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6054, allocations: 0 / 0.7368 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.6054, allocations: 4 kB / 0.7368 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.6057, allocations: 63.91 kB / 0.7369 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.6057, allocations: 0 / 0.7369 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.606, allocations: 59.66 kB / 0.7369 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.6061, allocations: 8 kB / 0.7369 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.6061, allocations: 4 kB / 0.7369 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005441/0.6067, allocations: 275.7 kB / 0.7372 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.6067, allocations: 4 kB / 0.7372 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.6067, allocations: 0 / 0.7372 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.6069, allocations: 67.84 kB / 0.7373 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.607, allocations: 0 / 0.7373 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.6072, allocations: 39.88 kB / 0.7373 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.6072, allocations: 24.03 kB / 0.7373 GB, free: 8.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0003004/0.6075, allocations: 254.1 kB / 0.7376 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.6076, allocations: 47.38 kB / 0.7376 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.6077, allocations: 44.25 kB / 0.7377 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6077, allocations: 4 kB / 0.7377 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6078, allocations: 0 / 0.7377 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6078, allocations: 3.984 kB / 0.7377 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.6092, allocations: 0.865 MB / 0.7385 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6092, allocations: 4 kB / 0.7385 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.6095, allocations: 55.91 kB / 0.7386 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.6095, allocations: 4 kB / 0.7386 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.6095, allocations: 11.98 kB / 0.7386 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.6095, allocations: 3.984 kB / 0.7386 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6095, allocations: 0 / 0.7386 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009885/0.6105, allocations: 0.569 MB / 0.7392 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.6107, allocations: 136.6 kB / 0.7393 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.6108, allocations: 15.98 kB / 0.7393 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.611, allocations: 32.05 kB / 0.7393 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.551e-05/0.6111, allocations: 27.95 kB / 0.7394 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.6111, allocations: 4 kB / 0.7394 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003084/0.6115, allocations: 251.2 kB / 0.7396 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6115, allocations: 0 / 0.7396 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005511/0.612, allocations: 163.4 kB / 0.7398 GB, free: 5.855 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001962/0.6122, allocations: 124.8 kB / 0.7399 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009267/0.6132, allocations: 449.1 kB / 0.7403 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6132, allocations: 4.062 kB / 0.7403 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.6135, allocations: 159.8 kB / 0.7405 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.6141, allocations: 77.45 kB / 0.7405 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.6157, allocations: 0.9933 MB / 0.7415 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.6162, allocations: 0.812 MB / 0.7423 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002553/0.6164, allocations: 51.25 kB / 0.7423 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.6165, allocations: 31.42 kB / 0.7424 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.6165, allocations: 0 / 0.7424 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of Templates: time 0.2725/0.889, allocations: 4.055 MB / 0.7463 GB, free: 120.8 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)