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.1947/0.1955, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.6971/0.8927, allocations: 200.7 MB / 0.7901 GB, free: 2.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02607/0.9188, allocations: 16.4 MB / 0.8061 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.9213, allocations: 47.5 kB / 0.8062 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.9243, allocations: 0.89 MB / 0.807 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006556/0.9309, allocations: 2.23 MB / 0.8092 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00776/0.9387, allocations: 2.71 MB / 0.8119 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007291/0.946, allocations: 5.262 MB / 0.817 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.9488, allocations: 1.195 MB / 0.8182 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004993/0.9538, allocations: 1.824 MB / 0.82 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.9571, allocations: 1.34 MB / 0.8213 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004351/0.9576, allocations: 88 kB / 0.8213 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006429/0.964, allocations: 2.627 MB / 0.8239 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.965, allocations: 0.5567 MB / 0.8245 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.9667, allocations: 0.9228 MB / 0.8254 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007522/0.9743, allocations: 3.988 MB / 0.8293 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9743, allocations: 4 kB / 0.8293 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9743, allocations: 0 / 0.8293 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.413e-05/0.9744, allocations: 0 / 0.8293 GB, free: 1.281 MB / 0.5762 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.005556/0.98, allocations: 2.244 MB / 0.8314 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.98, allocations: 8.031 kB / 0.8315 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/0.9833, allocations: 445.4 kB / 0.8319 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004029/0.9873, allocations: 1.593 MB / 0.8334 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.9875, allocations: 90 kB / 0.8335 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.9877, allocations: 111.9 kB / 0.8336 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/0.9908, allocations: 1.348 MB / 0.8349 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.9909, allocations: 4 kB / 0.8349 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.991, allocations: 40 kB / 0.835 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.991, allocations: 38.03 kB / 0.835 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.9936, allocations: 1.05 MB / 0.836 GB, free: 10.12 MB / 0.5919 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.008536/1.002, allocations: 5.158 MB / 0.8411 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/1.005, allocations: 0.923 MB / 0.842 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008667/1.006, allocations: 417.2 kB / 0.8424 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.607e-05/1.006, allocations: 16.62 kB / 0.8424 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/1.007, allocations: 0.6151 MB / 0.843 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007991/1.008, allocations: 83.2 kB / 0.8431 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=67): time 2.786e-06/1.008, allocations: 8 kB / 0.8431 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67): time 0.003564/1.011, allocations: 1.18 MB / 0.8442 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/1.012, allocations: 329 kB / 0.8446 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/1.014, allocations: 1.298 MB / 0.8458 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/1.014, allocations: 37.7 kB / 0.8459 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006196/1.014, allocations: 0.7004 MB / 0.8465 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/1.015, allocations: 228.7 kB / 0.8468 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/1.015, allocations: 93.66 kB / 0.8468 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.015, allocations: 337.9 kB / 0.8472 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.016, allocations: 0.5017 MB / 0.8477 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/1.017, allocations: 0.7665 MB / 0.8484 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/1.019, allocations: 1.151 MB / 0.8495 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.019, allocations: 0 / 0.8495 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003216/1.023, allocations: 1.489 MB / 0.851 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002498/1.023, allocations: 277.6 kB / 0.8512 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/1.023, allocations: 7.984 kB / 0.8513 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/1.023, allocations: 8 kB / 0.8513 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/1.025, allocations: 347.5 kB / 0.8516 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/1.03, allocations: 2.783 MB / 0.8543 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.032, allocations: 115.8 kB / 0.8544 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/1.032, allocations: 55.97 kB / 0.8545 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.032, allocations: 8 kB / 0.8545 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003035/1.035, allocations: 1.356 MB / 0.8558 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/1.035, allocations: 8 kB / 0.8558 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.035, allocations: 8 kB / 0.8558 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/1.036, allocations: 179.7 kB / 0.856 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.036, allocations: 8.156 kB / 0.856 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.038, allocations: 103.8 kB / 0.8561 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.038, allocations: 44 kB / 0.8561 GB, free: 4.516 MB / 0.6075 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001272/1.039, allocations: 489.3 kB / 0.8566 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004857/1.04, allocations: 146.2 kB / 0.8568 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/1.042, allocations: 0.8996 MB / 0.8576 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.042, allocations: 8 kB / 0.8576 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/1.042, allocations: 0 / 0.8576 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/1.044, allocations: 0.7829 MB / 0.8584 GB, free: 2.141 MB / 0.6075 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.005997/1.05, allocations: 2.255 MB / 0.8606 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.05, allocations: 8.031 kB / 0.8606 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/1.052, allocations: 319.5 kB / 0.8609 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/1.052, allocations: 4 kB / 0.8609 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/1.052, allocations: 16 kB / 0.8609 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/1.056, allocations: 2.748 MB / 0.8636 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.056, allocations: 0 / 0.8636 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/1.059, allocations: 1.388 MB / 0.865 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009841/1.06, allocations: 295.3 kB / 0.8653 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004642/1.06, allocations: 16 kB / 0.8653 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.062, allocations: 107.8 kB / 0.8654 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.062, allocations: 48.44 kB / 0.8654 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/1.062, allocations: 23.98 kB / 0.8654 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001823/1.064, allocations: 0.8878 MB / 0.8663 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.41e-07/1.064, allocations: 0 / 0.8663 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003347/1.067, allocations: 0.8106 MB / 0.8671 GB, free: 8.855 MB / 0.6231 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001521/1.069, allocations: 370.2 kB / 0.8675 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006366/1.075, allocations: 2.669 MB / 0.8701 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.075, allocations: 4 kB / 0.8701 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003051/1.078, allocations: 0.6282 MB / 0.8707 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/1.083, allocations: 0.6814 MB / 0.8713 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/1.09, allocations: 3.357 MB / 0.8746 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/1.092, allocations: 1.308 MB / 0.8759 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002318/1.094, allocations: 343.4 kB / 0.8762 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/1.095, allocations: 111.4 kB / 0.8763 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of SimCode: time 1.503e-06/1.095, allocations: 0 / 0.8763 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of Templates: time 0.06592/1.161, allocations: 31.16 MB / 0.9068 GB, free: 452 kB / 0.6544 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: