Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7666/0.7666, allocations: 127.4 MB / 134.9 MB, free: 3.441 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.0009891/0.0009891, allocations: 186.4 kB / 164.7 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.2 MB / 399.5 MB, free: 13.49 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.0009077/0.0009077, allocations: 86.45 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.686e-05, allocations: 2.812 kB / 0.5466 GB, free: 95.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 76.77 MB / 0.6215 GB, free: 43.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.273, allocations: 109.1 MB / 0.7281 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.2733, allocations: 87.94 kB / 0.7281 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0188/0.2921, allocations: 7.186 MB / 0.7352 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2921, allocations: 4 kB / 0.7352 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.902e-05/0.2922, allocations: 8.188 kB / 0.7352 GB, free: 6.516 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007674/0.2929, allocations: 0.5996 MB / 0.7358 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.293, allocations: 8.031 kB / 0.7358 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.2931, allocations: 51.39 kB / 0.7358 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.2936, allocations: 396.5 kB / 0.7362 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.2936, allocations: 8 kB / 0.7362 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.2937, allocations: 23.94 kB / 0.7362 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000367/0.294, allocations: 189.5 kB / 0.7364 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.2945, allocations: 306.1 kB / 0.7367 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2946, allocations: 0 / 0.7367 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.2946, allocations: 3.953 kB / 0.7367 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2946, allocations: 8 kB / 0.7367 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.2961, allocations: 1.178 MB / 0.7379 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.2965, allocations: 228.8 kB / 0.7381 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.2967, allocations: 97.36 kB / 0.7382 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.2967, allocations: 8.141 kB / 0.7382 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.2968, allocations: 34.75 kB / 0.7382 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 1.273e-06/0.2968, allocations: 0 / 0.7382 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.0003911/0.2972, allocations: 216.1 kB / 0.7384 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.2973, allocations: 154.2 kB / 0.7386 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.2975, allocations: 262.4 kB / 0.7388 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.2976, allocations: 33.7 kB / 0.7388 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.2978, allocations: 223.9 kB / 0.7391 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.2978, allocations: 67 kB / 0.7391 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.2979, allocations: 0 / 0.7391 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.298, allocations: 342.8 kB / 0.7394 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2981, allocations: 72 kB / 0.7395 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2983, allocations: 139.7 kB / 0.7397 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.2984, allocations: 81.06 kB / 0.7397 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2984, allocations: 0 / 0.7397 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003507/0.2988, allocations: 237.7 kB / 0.74 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.299, allocations: 449.1 kB / 0.7404 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.299, allocations: 8 kB / 0.7404 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.299, allocations: 3.953 kB / 0.7404 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.2993, allocations: 59.91 kB / 0.7405 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2993, allocations: 0 / 0.7405 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.2995, allocations: 47.81 kB / 0.7405 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2995, allocations: 4 kB / 0.7405 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.51e-06/0.2995, allocations: 7.938 kB / 0.7405 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002633/0.2998, allocations: 171.8 kB / 0.7407 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2998, allocations: 4 kB / 0.7407 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-06/0.2998, allocations: 0 / 0.7407 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.3, allocations: 47.92 kB / 0.7407 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.3, allocations: 0 / 0.7407 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.3002, allocations: 31.95 kB / 0.7408 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3002, allocations: 15.98 kB / 0.7408 GB, free: 460 kB / 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: 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 9.948e-05/0.3003, allocations: 112.9 kB / 0.7409 GB, free: 340 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.3004, allocations: 31.62 kB / 0.7409 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/0.3005, allocations: 35.06 kB / 0.7409 GB, free: 264 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3005, allocations: 4 kB / 0.7409 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.3005, allocations: 4 kB / 0.7409 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3005, allocations: 0 / 0.7409 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3344/0.6349, allocations: 361.3 kB / 0.7413 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.635, allocations: 4.266 kB / 0.7413 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.6354, allocations: 47.23 kB / 0.7413 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.6354, allocations: 1.75 kB / 0.7413 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.6354, allocations: 1.906 kB / 0.7413 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.6354, allocations: 0.9062 kB / 0.7413 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6355, allocations: 0.9062 kB / 0.7413 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.6362, allocations: 409.3 kB / 0.7417 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.6364, allocations: 134.2 kB / 0.7419 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.6364, allocations: 1.656 kB / 0.7419 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.6367, allocations: 27.11 kB / 0.7419 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.6368, allocations: 17.55 kB / 0.7419 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.6368, allocations: 7.359 kB / 0.7419 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002584/0.6371, allocations: 208.3 kB / 0.7421 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6371, allocations: 0 / 0.7421 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006415/0.6378, allocations: 123.2 kB / 0.7422 GB, free: 112.2 MB / 0.5105 GB 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.000183/0.6379, allocations: 112.2 kB / 0.7423 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006159/0.6386, allocations: 285.8 kB / 0.7426 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6386, allocations: 0.5938 kB / 0.7426 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.6388, allocations: 91.94 kB / 0.7427 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.6393, allocations: 72.56 kB / 0.7428 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.6406, allocations: 0.5125 MB / 0.7433 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.6409, allocations: 0.8061 MB / 0.7441 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.6413, allocations: 55.2 kB / 0.7441 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.6414, allocations: 23.38 kB / 0.7441 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.6414, allocations: 0.9688 kB / 0.7441 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.009989/0.6514, allocations: 3.727 MB / 0.7478 GB, free: 111 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)