Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.699/0.699, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.0009874/0.0009874, allocations: 174.9 kB / 176.9 MB, free: 2.297 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.269/1.269, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.001782/0.001782, allocations: 106.5 kB / 450 MB, free: 5.859 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.4584/0.4584, allocations: 73.39 MB / 0.6736 GB, free: 47.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/4.94, allocations: 2.177 GB / 2.85 GB, free: 154.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/4.94, allocations: 88.7 kB / 2.85 GB, free: 154.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 12.68/17.62, allocations: 3.648 GB / 6.498 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.474e-06/17.62, allocations: 0 / 6.498 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0009885/17.62, allocations: 147.8 kB / 6.498 GB, free: 14.69 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.02054/17.64, allocations: 5.574 MB / 6.504 GB, free: 9.02 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/17.64, allocations: 12.02 kB / 6.504 GB, free: 9.008 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/17.65, allocations: 1.694 MB / 6.505 GB, free: 7.305 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01975/17.67, allocations: 5.882 MB / 6.511 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004074/17.67, allocations: 270.6 kB / 6.511 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001925/17.67, allocations: 375.9 kB / 6.512 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7151/18.39, allocations: 4.155 MB / 6.516 GB, free: 50.53 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.935e-05/18.39, allocations: 4.875 kB / 6.516 GB, free: 50.53 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005179/18.39, allocations: 141.7 kB / 6.516 GB, free: 50.53 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/18.39, allocations: 116.5 kB / 6.516 GB, free: 50.52 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007425/18.4, allocations: 3.156 MB / 6.519 GB, free: 50.49 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or 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.02931/18.43, allocations: 17.24 MB / 6.536 GB, free: 43.64 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007308/18.43, allocations: 3.091 MB / 6.539 GB, free: 43.04 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/18.44, allocations: 1.077 MB / 6.54 GB, free: 43.02 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/18.44, allocations: 48.3 kB / 6.54 GB, free: 43.02 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004141/18.44, allocations: 1.72 MB / 6.542 GB, free: 42.84 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004727/18.45, allocations: 329.7 kB / 6.542 GB, free: 42.78 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=207): time 3.026e-05/18.45, allocations: 0 / 6.542 GB, free: 42.78 MB / 0.7917 GB Notification: Performance of matching and sorting (n=207): time 0.008832/18.45, allocations: 2.714 MB / 6.545 GB, free: 42.47 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/18.45, allocations: 0.6321 MB / 6.545 GB, free: 41.72 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009269/18.46, allocations: 3.562 MB / 6.549 GB, free: 41.4 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0009565/18.46, allocations: 85.3 kB / 6.549 GB, free: 41.37 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002633/18.47, allocations: 2.29 MB / 6.551 GB, free: 40.89 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009572/18.47, allocations: 0.7173 MB / 6.552 GB, free: 40.53 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/18.47, allocations: 55.97 kB / 6.552 GB, free: 40.53 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001652/18.47, allocations: 423.4 kB / 6.552 GB, free: 40.21 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/18.47, allocations: 1.295 MB / 6.554 GB, free: 40.21 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/18.47, allocations: 2.143 MB / 6.556 GB, free: 39.33 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/18.48, allocations: 1.741 MB / 6.557 GB, free: 39.11 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/18.48, allocations: 7.203 kB / 6.557 GB, free: 39.11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.008195/18.48, allocations: 4.017 MB / 6.561 GB, free: 38.61 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001543/18.49, allocations: 5.532 MB / 6.567 GB, free: 32.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.173e-05/18.49, allocations: 23.34 kB / 6.567 GB, free: 32.79 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-05/18.49, allocations: 25.91 kB / 6.567 GB, free: 32.79 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/18.5, allocations: 2.014 MB / 6.569 GB, free: 32.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/18.5, allocations: 4.643 MB / 6.573 GB, free: 28.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008418/18.51, allocations: 0.5644 MB / 6.574 GB, free: 28.68 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/18.51, allocations: 211.2 kB / 6.574 GB, free: 28.68 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/18.51, allocations: 4.438 kB / 6.574 GB, free: 28.68 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009285/18.52, allocations: 4.171 MB / 6.578 GB, free: 28.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.213e-05/18.52, allocations: 23.28 kB / 6.578 GB, free: 28.44 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.973e-05/18.52, allocations: 25.03 kB / 6.578 GB, free: 28.44 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/18.52, allocations: 0.5745 MB / 6.579 GB, free: 28.44 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-05/18.52, allocations: 30.09 kB / 6.579 GB, free: 28.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005964/18.53, allocations: 488.7 kB / 6.579 GB, free: 28.43 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006146/18.53, allocations: 196.5 kB / 6.579 GB, free: 28.43 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 279 * Array equations: 4 * Algorithm blocks: 5 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001332/18.53, allocations: 277.7 kB / 6.58 GB, free: 28.32 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001887/18.53, allocations: 441.8 kB / 6.58 GB, free: 28.09 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006085/18.54, allocations: 2.448 MB / 6.583 GB, free: 27.94 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/18.54, allocations: 22 kB / 6.583 GB, free: 27.94 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/18.54, allocations: 3.609 kB / 6.583 GB, free: 27.94 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003084/18.54, allocations: 2.139 MB / 6.585 GB, free: 27.46 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or 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.0173/18.56, allocations: 6.9 MB / 6.591 GB, free: 26.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/18.56, allocations: 3.906 kB / 6.591 GB, free: 26.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009834/18.57, allocations: 1.963 MB / 6.593 GB, free: 26.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.755e-05/18.57, allocations: 8.406 kB / 6.593 GB, free: 26.4 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005739/18.57, allocations: 65.02 kB / 6.593 GB, free: 26.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/18.58, allocations: 10.19 MB / 6.603 GB, free: 33.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/18.58, allocations: 0 / 6.603 GB, free: 33.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007801/18.59, allocations: 3.67 MB / 6.607 GB, free: 32.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003304/18.59, allocations: 0.7943 MB / 6.608 GB, free: 32.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/18.59, allocations: 52.8 kB / 6.608 GB, free: 32.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005339/18.6, allocations: 0.5005 MB / 6.608 GB, free: 32.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004086/18.6, allocations: 134.4 kB / 6.608 GB, free: 32.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003149/18.6, allocations: 85.78 kB / 6.608 GB, free: 32.28 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.006697/18.61, allocations: 2.707 MB / 6.611 GB, free: 32.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.81e-07/18.61, allocations: 2.375 kB / 6.611 GB, free: 32.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01447/18.62, allocations: 3.235 MB / 6.614 GB, free: 31.94 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 20 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01755/18.64, allocations: 10.96 MB / 6.625 GB, free: 26.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02122/18.66, allocations: 9.313 MB / 6.634 GB, free: 25.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/18.66, allocations: 3.688 kB / 6.634 GB, free: 25.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01647/18.68, allocations: 3.525 MB / 6.637 GB, free: 25.08 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01438/18.69, allocations: 2.496 MB / 6.64 GB, free: 25.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/18.71, allocations: 7.21 MB / 6.647 GB, free: 23.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004471/18.71, allocations: 2.953 MB / 6.65 GB, free: 22.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01036/18.72, allocations: 1.653 MB / 6.651 GB, free: 22.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/18.73, allocations: 277.2 kB / 6.652 GB, free: 22.49 MB / 0.8073 GB Notification: Performance of SimCode: time 1.292e-06/18.73, allocations: 2.938 kB / 6.652 GB, free: 22.49 MB / 0.8073 GB Notification: Performance of Templates: time 1.019/19.74, allocations: 203.9 MB / 6.851 GB, free: 96.25 MB / 0.8386 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)