Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [/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.15/0.1507, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004513/0.1552, allocations: 3.556 MB / 0.5968 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4872/0.6424, allocations: 127 MB / 0.7209 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004519/0.643, allocations: 12.25 kB / 0.7209 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.6433, allocations: 93.23 kB / 0.721 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.6444, allocations: 490.6 kB / 0.7215 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.6455, allocations: 473.5 kB / 0.7219 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008922/0.6464, allocations: 0.7015 MB / 0.7226 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.647, allocations: 446.3 kB / 0.723 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.6475, allocations: 294.7 kB / 0.7233 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.6479, allocations: 286.5 kB / 0.7236 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.648, allocations: 19 kB / 0.7236 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007841/0.6487, allocations: 304.2 kB / 0.7239 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.649, allocations: 146.2 kB / 0.724 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.6491, allocations: 179.2 kB / 0.7242 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.6503, allocations: 1.032 MB / 0.7252 GB, free: 36 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6504, allocations: 0.9062 kB / 0.7252 GB, free: 36 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6504, allocations: 0 / 0.7252 GB, free: 36 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.6504, allocations: 0 / 0.7252 GB, free: 36 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002238/0.6526, allocations: 1.122 MB / 0.7263 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.6527, allocations: 8.656 kB / 0.7263 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.6548, allocations: 319.9 kB / 0.7266 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.6559, allocations: 0.6324 MB / 0.7272 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/0.656, allocations: 57.06 kB / 0.7273 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.6561, allocations: 73.31 kB / 0.7273 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.6579, allocations: 0.8742 MB / 0.7282 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.6579, allocations: 0 / 0.7282 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.658, allocations: 31.78 kB / 0.7282 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.658, allocations: 19 kB / 0.7282 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.6603, allocations: 1.121 MB / 0.7293 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.6644, allocations: 2.397 MB / 0.7317 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.6661, allocations: 0.8143 MB / 0.7325 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009849/0.6671, allocations: 0.6741 MB / 0.7331 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.6682, allocations: 484.9 kB / 0.7336 GB, free: 13.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.785e-06/0.6682, allocations: 0.9375 kB / 0.7336 GB, free: 13.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.003097/0.6713, allocations: 1.158 MB / 0.7347 GB, free: 12.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.6714, allocations: 112.2 kB / 0.7348 GB, free: 12.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/0.672, allocations: 0.5546 MB / 0.7354 GB, free: 12.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/0.6721, allocations: 43.38 kB / 0.7354 GB, free: 12.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.6723, allocations: 357.2 kB / 0.7358 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.6725, allocations: 235.4 kB / 0.736 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.6725, allocations: 10.28 kB / 0.736 GB, free: 11.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.6727, allocations: 374.8 kB / 0.7364 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/0.6733, allocations: 256.1 kB / 0.7366 GB, free: 11.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.6739, allocations: 335.6 kB / 0.7369 GB, free: 11.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006387/0.6746, allocations: 290.8 kB / 0.7372 GB, free: 11.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6746, allocations: 3.938 kB / 0.7372 GB, free: 11.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001868/0.6765, allocations: 0.7821 MB / 0.738 GB, free: 11.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6765, allocations: 11.92 kB / 0.738 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.6765, allocations: 1.031 kB / 0.738 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.677, allocations: 73.58 kB / 0.738 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.6778, allocations: 162.2 kB / 0.7382 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.6793, allocations: 1.443 MB / 0.7396 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.68, allocations: 79.77 kB / 0.7397 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.68, allocations: 30.75 kB / 0.7397 GB, free: 9.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.6804, allocations: 249 kB / 0.74 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6805, allocations: 74.14 kB / 0.74 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.683, allocations: 1.016 MB / 0.741 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.683, allocations: 8.25 kB / 0.741 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.683, allocations: 1.375 kB / 0.741 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.683, allocations: 3.984 kB / 0.741 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009043/0.6839, allocations: 0.8352 MB / 0.7418 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6839, allocations: 3.938 kB / 0.7418 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.6846, allocations: 150.2 kB / 0.742 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000419/0.6851, allocations: 83.56 kB / 0.7421 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.6851, allocations: 26.72 kB / 0.7421 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.6865, allocations: 1.458 MB / 0.7435 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6865, allocations: 0 / 0.7435 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.6884, allocations: 0.8733 MB / 0.7444 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.6888, allocations: 272.7 kB / 0.7446 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.6889, allocations: 19.88 kB / 0.7447 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.6894, allocations: 72.25 kB / 0.7447 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6895, allocations: 54.53 kB / 0.7448 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.6896, allocations: 31.14 kB / 0.7448 GB, free: 6.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000421/0.69, allocations: 398.1 kB / 0.7452 GB, free: 6.809 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.69, allocations: 0 / 0.7452 GB, free: 6.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008344/0.6909, allocations: 286.6 kB / 0.7455 GB, free: 6.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.6921, allocations: 0.6126 MB / 0.7461 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.6939, allocations: 0.7727 MB / 0.7468 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6939, allocations: 7.281 kB / 0.7468 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000981/0.6949, allocations: 0.4963 MB / 0.7473 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.6958, allocations: 190.4 kB / 0.7475 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.6999, allocations: 2.074 MB / 0.7495 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.7005, allocations: 1.008 MB / 0.7505 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000994/0.7015, allocations: 252.7 kB / 0.7507 GB, free: 3.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.7018, allocations: 85.95 kB / 0.7508 GB, free: 3.906 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.7018, allocations: 0 / 0.7508 GB, free: 3.906 MB / 0.545 GB Notification: Performance of Templates: time 0.02085/0.7227, allocations: 11.64 MB / 0.7622 GB, free: 14.11 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) Environment - environmentSimulation: