Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005736/0.005736, allocations: 99.41 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 194.3 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.722/2.722, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.83 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3528, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.8592/1.212, allocations: 163.1 MB / 1.38 GB, free: 6.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01206/1.224, allocations: 8.87 MB / 1.389 GB, free: 15.24 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009327/1.225, allocations: 19.06 kB / 1.389 GB, free: 15.23 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/1.226, allocations: 360.5 kB / 1.389 GB, free: 14.94 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003097/1.229, allocations: 1.136 MB / 1.39 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005723/1.235, allocations: 2.136 MB / 1.392 GB, free: 12.55 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002002/1.237, allocations: 1.381 MB / 1.393 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006268/1.238, allocations: 376 kB / 1.394 GB, free: 11.49 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006/1.244, allocations: 2.141 MB / 1.396 GB, free: 10.07 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/1.246, allocations: 1.303 MB / 1.397 GB, free: 9.195 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/1.247, allocations: 54.97 kB / 1.397 GB, free: 9.191 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006067/1.253, allocations: 2.896 MB / 1.4 GB, free: 7.703 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/1.253, allocations: 151.2 kB / 1.4 GB, free: 7.586 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007155/1.254, allocations: 348.7 kB / 1.4 GB, free: 7.379 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004153/1.258, allocations: 2.217 MB / 1.403 GB, free: 5.922 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.258, allocations: 0 / 1.403 GB, free: 5.922 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.673e-06/1.258, allocations: 3.938 kB / 1.403 GB, free: 5.918 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.258, allocations: 0 / 1.403 GB, free: 5.918 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002022/1.26, allocations: 1.02 MB / 1.404 GB, free: 5.121 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.26, allocations: 8.875 kB / 1.404 GB, free: 5.121 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/1.261, allocations: 154.7 kB / 1.404 GB, free: 5.043 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/1.262, allocations: 437.3 kB / 1.404 GB, free: 4.656 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/1.262, allocations: 43.16 kB / 1.404 GB, free: 4.633 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.262, allocations: 54.28 kB / 1.404 GB, free: 4.613 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/1.263, allocations: 0.6572 MB / 1.405 GB, free: 4.16 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/1.263, allocations: 4.844 kB / 1.405 GB, free: 4.156 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/1.263, allocations: 27.44 kB / 1.405 GB, free: 4.137 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/1.263, allocations: 17.09 kB / 1.405 GB, free: 4.133 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.264, allocations: 491.5 kB / 1.405 GB, free: 3.898 MB / 1.092 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.003228/1.268, allocations: 2.988 MB / 1.408 GB, free: 1.105 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/1.268, allocations: 253.3 kB / 1.409 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/1.268, allocations: 164.3 kB / 1.409 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01704/1.285, allocations: 5.811 MB / 1.414 GB, free: 13.84 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/1.286, allocations: 42.14 kB / 1.415 GB, free: 13.79 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/1.286, allocations: 0 / 1.415 GB, free: 13.79 MB / 1.107 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.08227/1.368, allocations: 31.88 MB / 1.446 GB, free: 14.09 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/1.368, allocations: 137 kB / 1.446 GB, free: 13.93 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/1.368, allocations: 369.6 kB / 1.446 GB, free: 13.56 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/1.368, allocations: 37.7 kB / 1.446 GB, free: 13.52 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/1.369, allocations: 300.8 kB / 1.446 GB, free: 13.22 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/1.369, allocations: 186.4 kB / 1.447 GB, free: 13.04 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/1.369, allocations: 114.2 kB / 1.447 GB, free: 12.91 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.369, allocations: 358.8 kB / 1.447 GB, free: 12.55 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/1.369, allocations: 233 kB / 1.447 GB, free: 12.33 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/1.37, allocations: 382.1 kB / 1.448 GB, free: 11.91 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/1.371, allocations: 0.5942 MB / 1.448 GB, free: 11.27 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.371, allocations: 0 / 1.448 GB, free: 11.27 MB / 1.139 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001852/1.373, allocations: 0.79 MB / 1.449 GB, free: 10.47 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.373, allocations: 8 kB / 1.449 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.373, allocations: 11.88 kB / 1.449 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/1.374, allocations: 121.9 kB / 1.449 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/1.374, allocations: 123.8 kB / 1.449 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/1.377, allocations: 3.429 MB / 1.453 GB, free: 6.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/1.378, allocations: 47.78 kB / 1.453 GB, free: 6.453 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/1.378, allocations: 27.98 kB / 1.453 GB, free: 6.426 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002714/1.378, allocations: 190.2 kB / 1.453 GB, free: 6.23 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/1.378, allocations: 51.73 kB / 1.453 GB, free: 6.18 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/1.38, allocations: 0.7897 MB / 1.454 GB, free: 5.371 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.38, allocations: 8 kB / 1.454 GB, free: 5.363 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/1.38, allocations: 0 / 1.454 GB, free: 5.363 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.38, allocations: 7.984 kB / 1.454 GB, free: 5.355 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/1.383, allocations: 1.616 MB / 1.455 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.383, allocations: 4.125 kB / 1.455 GB, free: 3.637 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/1.384, allocations: 107.9 kB / 1.455 GB, free: 3.531 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/1.384, allocations: 72.78 kB / 1.455 GB, free: 3.457 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/1.384, allocations: 12 kB / 1.455 GB, free: 3.445 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/1.385, allocations: 1.767 MB / 1.457 GB, free: 1.539 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.385, allocations: 7.969 kB / 1.457 GB, free: 1.531 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/1.387, allocations: 1.024 MB / 1.458 GB, free: 456 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/1.387, allocations: 136.8 kB / 1.458 GB, free: 300 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/1.388, allocations: 15.92 kB / 1.458 GB, free: 284 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/1.388, allocations: 27.98 kB / 1.458 GB, free: 256 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/1.388, allocations: 47.95 kB / 1.458 GB, free: 208 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/1.388, allocations: 23.98 kB / 1.458 GB, free: 184 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004569/1.389, allocations: 358.7 kB / 1.459 GB, free: 15.83 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.389, allocations: 0 / 1.459 GB, free: 15.83 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004865/1.394, allocations: 1.394 MB / 1.46 GB, free: 14.43 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008197/1.402, allocations: 0.7576 MB / 1.461 GB, free: 13.68 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002012/1.404, allocations: 0.7726 MB / 1.462 GB, free: 12.88 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.404, allocations: 4 kB / 1.462 GB, free: 12.88 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/1.405, allocations: 382.8 kB / 1.462 GB, free: 12.49 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.406, allocations: 337.4 kB / 1.462 GB, free: 12.16 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/1.408, allocations: 1.21 MB / 1.464 GB, free: 10.89 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/1.409, allocations: 0.879 MB / 1.464 GB, free: 9.977 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005036/1.409, allocations: 131.1 kB / 1.465 GB, free: 9.855 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.409, allocations: 63.42 kB / 1.465 GB, free: 9.797 MB / 1.154 GB Notification: Performance of SimCode: time 7.01e-07/1.409, allocations: 0 / 1.465 GB, free: 9.797 MB / 1.154 GB Notification: Performance of Templates: time 0.1054/1.515, allocations: 63.99 MB / 1.527 GB, free: 10.43 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)