Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001015, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0009843/0.0009844, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008486/0.0008489, allocations: 19.72 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.372, allocations: 116.3 MB / 0.7871 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.004152/0.3762, allocations: 2.685 MB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.378, allocations: 0.7922 MB / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003979/0.3784, allocations: 11.94 kB / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.3786, allocations: 43.45 kB / 0.7906 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.3792, allocations: 103.7 kB / 0.7907 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.3796, allocations: 171.7 kB / 0.7908 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006915/0.3803, allocations: 405.8 kB / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.3808, allocations: 264.7 kB / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.3811, allocations: 159.1 kB / 0.7916 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.3813, allocations: 194.8 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.3814, allocations: 16 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.3814, allocations: 16 kB / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.3815, allocations: 83.55 kB / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3816, allocations: 121.4 kB / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006829/0.3823, allocations: 0.7482 MB / 0.7928 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3823, allocations: 0 / 0.7928 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.985e-06/0.3823, allocations: 0 / 0.7928 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.3824, allocations: 4 kB / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001624/0.384, allocations: 0.8689 MB / 0.7936 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.384, allocations: 12.03 kB / 0.7936 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3842, allocations: 71.16 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.3849, allocations: 477.9 kB / 0.7941 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.385, allocations: 49.31 kB / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/0.3851, allocations: 48 kB / 0.7942 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3861, allocations: 0.5614 MB / 0.7948 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3861, allocations: 0 / 0.7948 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.3862, allocations: 20 kB / 0.7948 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.3862, allocations: 12 kB / 0.7948 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3872, allocations: 459.7 kB / 0.7952 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.3901, allocations: 1.869 MB / 0.7971 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.3916, allocations: 0.5722 MB / 0.7976 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.3917, allocations: 7.984 kB / 0.7976 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3917, allocations: 30.56 kB / 0.7977 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.3917, allocations: 0 / 0.7977 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.001274/0.393, allocations: 0.5253 MB / 0.7982 GB, free: 444 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.3931, allocations: 114.8 kB / 0.7983 GB, free: 304 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006907/0.3938, allocations: 0.5146 MB / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.3939, allocations: 33.7 kB / 0.7988 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.3942, allocations: 311.9 kB / 0.7991 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.861e-05/0.3943, allocations: 114.3 kB / 0.7992 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.3943, allocations: 4 kB / 0.7992 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3945, allocations: 366.8 kB / 0.7996 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.3949, allocations: 160.7 kB / 0.7997 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.3953, allocations: 260.3 kB / 0.8 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.3957, allocations: 179.6 kB / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3958, allocations: 0 / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009895/0.3967, allocations: 480.4 kB / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004384/0.3972, allocations: 0.7069 MB / 0.8013 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.3972, allocations: 4 kB / 0.8013 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.3973, allocations: 4 kB / 0.8013 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.3976, allocations: 87.88 kB / 0.8014 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.3977, allocations: 4 kB / 0.8014 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.398, allocations: 99.33 kB / 0.8015 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.3981, allocations: 12 kB / 0.8015 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/0.3981, allocations: 4 kB / 0.8015 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000662/0.3988, allocations: 347.5 kB / 0.8018 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.3988, allocations: 224 / 0.8018 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/0.3988, allocations: 8 kB / 0.8019 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.3991, allocations: 75.91 kB / 0.8019 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3991, allocations: 7.938 kB / 0.8019 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.3994, allocations: 71.56 kB / 0.802 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.3994, allocations: 15.95 kB / 0.802 GB, free: 12.35 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0004104/0.3998, allocations: 275.8 kB / 0.8023 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.674e-05/0.3999, allocations: 51.34 kB / 0.8023 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009883/0.4009, allocations: 429.5 kB / 0.8027 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4009, allocations: 4 kB / 0.8027 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.401, allocations: 0 / 0.8027 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.401, allocations: 0 / 0.8027 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.4017, allocations: 0.5556 MB / 0.8033 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4018, allocations: 0 / 0.8033 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.4021, allocations: 75.95 kB / 0.8034 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4021, allocations: 4 kB / 0.8034 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.4022, allocations: 19.98 kB / 0.8034 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.4022, allocations: 0 / 0.8034 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4022, allocations: 0 / 0.8034 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.4035, allocations: 0.691 MB / 0.8041 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.4037, allocations: 136.4 kB / 0.8042 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.4037, allocations: 4 kB / 0.8042 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.404, allocations: 52.02 kB / 0.8042 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.4041, allocations: 23.95 kB / 0.8043 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4042, allocations: 15.94 kB / 0.8043 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000486/0.4047, allocations: 362.9 kB / 0.8046 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4047, allocations: 4 kB / 0.8046 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006026/0.4053, allocations: 171.3 kB / 0.8048 GB, free: 9.41 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0002044/0.4055, allocations: 112 kB / 0.8049 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.4068, allocations: 0.5506 MB / 0.8054 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.4068, allocations: 3.938 kB / 0.8054 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.4072, allocations: 196.5 kB / 0.8056 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.4079, allocations: 90.86 kB / 0.8057 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.4099, allocations: 1.07 MB / 0.8068 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.4104, allocations: 0.8744 MB / 0.8076 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002619/0.4106, allocations: 60.23 kB / 0.8077 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4108, allocations: 39.42 kB / 0.8077 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.4108, allocations: 0 / 0.8077 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of Templates: time 0.01128/0.4221, allocations: 4.566 MB / 0.8122 GB, free: 1.832 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1) Environment - environmentSimulation: