Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8016/0.8016, allocations: 133.7 MB / 148.6 MB, free: 13.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001578/0.001578, allocations: 178.7 kB / 180.9 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.651/1.651, allocations: 170.7 MB / 383.7 MB, free: 16.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001736/0.001736, allocations: 106.8 kB / 454.6 MB, free: 9.734 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2015/0.2021, allocations: 73.4 MB / 0.6812 GB, free: 5.59 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6223/0.8244, allocations: 108.3 MB / 0.7869 GB, free: 19.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/0.8248, allocations: 92.33 kB / 0.787 GB, free: 19.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02552/0.8504, allocations: 9.915 MB / 0.7967 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.53e-06/0.8504, allocations: 3.938 kB / 0.7967 GB, free: 12.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.98e-05/0.8505, allocations: 15.94 kB / 0.7967 GB, free: 12.42 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001797/0.8523, allocations: 0.7954 MB / 0.7975 GB, free: 11.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/0.8524, allocations: 12.03 kB / 0.7975 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.8526, allocations: 55.34 kB / 0.7975 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000799/0.8534, allocations: 414.7 kB / 0.7979 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.8535, allocations: 43.12 kB / 0.798 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.28e-05/0.8536, allocations: 43.38 kB / 0.798 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.8548, allocations: 0.5431 MB / 0.7985 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.8549, allocations: 0 / 0.7985 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.8549, allocations: 21.19 kB / 0.7986 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.855, allocations: 11.98 kB / 0.7986 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.8559, allocations: 456.4 kB / 0.799 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.8586, allocations: 1.64 MB / 0.8006 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.8598, allocations: 421.7 kB / 0.801 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.8598, allocations: 4 kB / 0.801 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005962/0.8604, allocations: 241.8 kB / 0.8013 GB, free: 8.512 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.8604, allocations: 0 / 0.8013 GB, free: 8.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.001372/0.8618, allocations: 0.5423 MB / 0.8018 GB, free: 8.078 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.8619, allocations: 110.6 kB / 0.8019 GB, free: 7.949 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.8623, allocations: 356 kB / 0.8022 GB, free: 7.668 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.8624, allocations: 48.75 kB / 0.8023 GB, free: 7.625 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.8625, allocations: 236.2 kB / 0.8025 GB, free: 7.398 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.8626, allocations: 94.7 kB / 0.8026 GB, free: 7.305 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.8627, allocations: 8 kB / 0.8026 GB, free: 7.297 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.8628, allocations: 354.8 kB / 0.8029 GB, free: 6.941 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.8632, allocations: 172.9 kB / 0.8031 GB, free: 6.773 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.8637, allocations: 275.7 kB / 0.8034 GB, free: 6.469 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.8641, allocations: 215.3 kB / 0.8036 GB, free: 6.254 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8641, allocations: 4 kB / 0.8036 GB, free: 6.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001007/0.8652, allocations: 0.5349 MB / 0.8041 GB, free: 5.703 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.8652, allocations: 37.64 kB / 0.8041 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.8652, allocations: 0 / 0.8041 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.8653, allocations: 8 kB / 0.8041 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.8656, allocations: 87.94 kB / 0.8042 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.8656, allocations: 7.953 kB / 0.8042 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.866, allocations: 75.64 kB / 0.8043 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.866, allocations: 16 kB / 0.8043 GB, free: 5.469 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * 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.0002791/0.8663, allocations: 206.2 kB / 0.8045 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.8664, allocations: 43.44 kB / 0.8046 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009522/0.8674, allocations: 436.4 kB / 0.805 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8674, allocations: 4 kB / 0.805 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8674, allocations: 0 / 0.805 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.8674, allocations: 7.938 kB / 0.805 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.8689, allocations: 1.018 MB / 0.806 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8689, allocations: 0 / 0.806 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.8691, allocations: 55.89 kB / 0.806 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.8692, allocations: 4 kB / 0.806 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.8692, allocations: 11.95 kB / 0.806 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.8692, allocations: 4.031 kB / 0.8061 GB, free: 3.625 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8692, allocations: 0 / 0.8061 GB, free: 3.625 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.8705, allocations: 0.7379 MB / 0.8068 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.8706, allocations: 148.5 kB / 0.8069 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/0.8707, allocations: 16 kB / 0.8069 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.8711, allocations: 56 kB / 0.807 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.8712, allocations: 43.94 kB / 0.807 GB, free: 2.586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.8712, allocations: 15.98 kB / 0.807 GB, free: 2.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002367/0.8715, allocations: 263.2 kB / 0.8073 GB, free: 2.312 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8715, allocations: 0 / 0.8073 GB, free: 2.312 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.8718, allocations: 91.84 kB / 0.8074 GB, free: 2.223 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001893/0.872, allocations: 125.4 kB / 0.8075 GB, free: 2.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008914/0.8729, allocations: 483.2 kB / 0.808 GB, free: 1.605 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.873, allocations: 0 / 0.808 GB, free: 1.605 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.8734, allocations: 208.1 kB / 0.8082 GB, free: 1.402 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.8738, allocations: 67.39 kB / 0.8082 GB, free: 1.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.8752, allocations: 0.837 MB / 0.809 GB, free: 496 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.8756, allocations: 0.8357 MB / 0.8099 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002153/0.8759, allocations: 51.25 kB / 0.8099 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.876, allocations: 35.44 kB / 0.8099 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.876, allocations: 0 / 0.8099 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.01038/0.8864, allocations: 4.633 MB / 0.8145 GB, free: 10.94 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)