Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") [/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.2112/0.2122, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.5902/0.8023, allocations: 170.3 MB / 0.7596 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01948/0.8219, allocations: 14.51 MB / 0.7738 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.8239, allocations: 56.19 kB / 0.7739 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002885/0.8268, allocations: 0.7542 MB / 0.7746 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007173/0.834, allocations: 1.984 MB / 0.7765 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008066/0.8421, allocations: 2.446 MB / 0.7789 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004511/0.8466, allocations: 2.316 MB / 0.7812 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.8481, allocations: 1.088 MB / 0.7823 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.8511, allocations: 1.533 MB / 0.7837 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.8523, allocations: 0.9341 MB / 0.7847 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.8525, allocations: 83.12 kB / 0.7847 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.8551, allocations: 1.237 MB / 0.7859 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004948/0.8557, allocations: 0.4966 MB / 0.7864 GB, free: 5.043 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004243/0.8561, allocations: 377.6 kB / 0.7868 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.8589, allocations: 2.767 MB / 0.7895 GB, free: 2.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.8589, allocations: 0 / 0.7895 GB, free: 2.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8589, allocations: 0 / 0.7895 GB, free: 2.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.896e-05/0.8589, allocations: 0 / 0.7895 GB, free: 2.922 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.004195/0.8631, allocations: 2.22 MB / 0.7917 GB, free: 1.312 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.8632, allocations: 10.28 kB / 0.7917 GB, free: 1.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.8657, allocations: 447.6 kB / 0.7921 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/0.8686, allocations: 1.581 MB / 0.7936 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/0.8687, allocations: 92.8 kB / 0.7937 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.8689, allocations: 113 kB / 0.7938 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.8713, allocations: 1.316 MB / 0.7951 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.8714, allocations: 0 / 0.7951 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.8715, allocations: 46.78 kB / 0.7952 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.8715, allocations: 35.81 kB / 0.7952 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.8737, allocations: 1.037 MB / 0.7962 GB, free: 14.47 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006622/0.8803, allocations: 5.16 MB / 0.8013 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.8824, allocations: 0.8923 MB / 0.8021 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.8825, allocations: 12.55 kB / 0.8021 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/0.8837, allocations: 0.5964 MB / 0.8027 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005584/0.8843, allocations: 95.25 kB / 0.8028 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=67): time 2.845e-06/0.8843, allocations: 4 kB / 0.8028 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.00286/0.8872, allocations: 1.149 MB / 0.8039 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.8873, allocations: 325 kB / 0.8042 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.8888, allocations: 1.271 MB / 0.8055 GB, free: 6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.8889, allocations: 45.7 kB / 0.8055 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/0.8895, allocations: 0.6926 MB / 0.8062 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.8897, allocations: 236.6 kB / 0.8064 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.8898, allocations: 16 kB / 0.8064 GB, free: 5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.8899, allocations: 341.9 kB / 0.8068 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008797/0.8908, allocations: 465.8 kB / 0.8072 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.8919, allocations: 0.7124 MB / 0.8079 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000994/0.8929, allocations: 0.5995 MB / 0.8085 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8929, allocations: 0 / 0.8085 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00243/0.8953, allocations: 1.391 MB / 0.8099 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007336/0.8961, allocations: 1.425 MB / 0.8113 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.8961, allocations: 4 kB / 0.8113 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.8961, allocations: 8 kB / 0.8113 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/0.8983, allocations: 351.5 kB / 0.8116 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.9016, allocations: 2.787 MB / 0.8143 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.9033, allocations: 134.6 kB / 0.8144 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.9035, allocations: 59.97 kB / 0.8145 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9035, allocations: 6.344 kB / 0.8145 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002296/0.9058, allocations: 1.399 MB / 0.8159 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.9058, allocations: 12.02 kB / 0.8159 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.9059, allocations: 15.92 kB / 0.8159 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/0.9066, allocations: 175.8 kB / 0.8161 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.9066, allocations: 15.89 kB / 0.8161 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.908, allocations: 119.7 kB / 0.8162 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-05/0.9081, allocations: 51.92 kB / 0.8163 GB, free: 10.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 90 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009693/0.9091, allocations: 484.8 kB / 0.8167 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.9094, allocations: 142.2 kB / 0.8168 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.9113, allocations: 0.8722 MB / 0.8177 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.9113, allocations: 12 kB / 0.8177 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9113, allocations: 3.953 kB / 0.8177 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/0.9127, allocations: 0.7672 MB / 0.8185 GB, free: 8.156 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.9162, allocations: 2.212 MB / 0.8206 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.9162, allocations: 3.953 kB / 0.8206 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/0.9183, allocations: 327.5 kB / 0.8209 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.9183, allocations: 4 kB / 0.8209 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.9184, allocations: 23.98 kB / 0.821 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/0.9213, allocations: 2.748 MB / 0.8237 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9213, allocations: 0 / 0.8237 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.9238, allocations: 1.365 MB / 0.825 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/0.9245, allocations: 295.3 kB / 0.8253 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.9247, allocations: 19.98 kB / 0.8253 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/0.9256, allocations: 107.8 kB / 0.8254 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.9257, allocations: 52.48 kB / 0.8254 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/0.9258, allocations: 23.98 kB / 0.8255 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001183/0.927, allocations: 0.8566 MB / 0.8263 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.927, allocations: 7.938 kB / 0.8263 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002064/0.9291, allocations: 0.8069 MB / 0.8271 GB, free: 14.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000851/0.9299, allocations: 387.4 kB / 0.8275 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005164/0.9351, allocations: 2.697 MB / 0.8301 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9351, allocations: 0 / 0.8301 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.9378, allocations: 0.6205 MB / 0.8307 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/0.9407, allocations: 0.6874 MB / 0.8314 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.9454, allocations: 3.235 MB / 0.8345 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/0.9463, allocations: 1.343 MB / 0.8358 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001478/0.9478, allocations: 343.4 kB / 0.8362 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.9481, allocations: 119.4 kB / 0.8363 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/0.9481, allocations: 0 / 0.8363 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of Templates: time 0.0482/0.9963, allocations: 30.81 MB / 0.8664 GB, free: 6.914 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) Environment - environmentSimulation: