Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.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_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001686/0.001686, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001785/0.001785, allocations: 188 kB / 17.34 MB, free: 5.738 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9687/0.971, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2049/1.176, allocations: 162.7 MB / 1.326 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01386/1.19, allocations: 8.884 MB / 1.335 GB, free: 7.598 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008879/1.191, allocations: 15.94 kB / 1.335 GB, free: 7.582 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/1.192, allocations: 353.8 kB / 1.335 GB, free: 7.234 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003849/1.196, allocations: 1.134 MB / 1.336 GB, free: 6.102 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006598/1.203, allocations: 2.139 MB / 1.338 GB, free: 3.969 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00231/1.205, allocations: 1.388 MB / 1.34 GB, free: 2.574 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009154/1.206, allocations: 429.5 kB / 1.34 GB, free: 2.148 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006081/1.212, allocations: 2.145 MB / 1.342 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/1.215, allocations: 1.299 MB / 1.344 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/1.216, allocations: 56 kB / 1.344 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006963/1.223, allocations: 2.895 MB / 1.346 GB, free: 11.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003245/1.223, allocations: 155.4 kB / 1.347 GB, free: 11.58 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007569/1.224, allocations: 346.4 kB / 1.347 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005135/1.229, allocations: 2.232 MB / 1.349 GB, free: 9.004 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.229, allocations: 0 / 1.349 GB, free: 9.004 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.502e-06/1.229, allocations: 0 / 1.349 GB, free: 9.004 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.308e-05/1.229, allocations: 0 / 1.349 GB, free: 9.004 MB / 1.076 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.002738/1.232, allocations: 1.024 MB / 1.35 GB, free: 7.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.232, allocations: 12.86 kB / 1.35 GB, free: 7.918 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/1.233, allocations: 147.6 kB / 1.35 GB, free: 7.773 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009423/1.234, allocations: 441.8 kB / 1.351 GB, free: 7.305 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/1.234, allocations: 37.31 kB / 1.351 GB, free: 7.266 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.73e-05/1.234, allocations: 56 kB / 1.351 GB, free: 7.211 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/1.235, allocations: 0.6604 MB / 1.351 GB, free: 6.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/1.236, allocations: 3.938 kB / 1.351 GB, free: 6.496 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.568e-05/1.236, allocations: 24 kB / 1.351 GB, free: 6.473 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/1.236, allocations: 15.94 kB / 1.351 GB, free: 6.457 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/1.237, allocations: 491.5 kB / 1.352 GB, free: 5.98 MB / 1.076 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.004016/1.241, allocations: 2.991 MB / 1.355 GB, free: 2.754 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/1.241, allocations: 270.3 kB / 1.355 GB, free: 2.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/1.242, allocations: 169.4 kB / 1.355 GB, free: 2.312 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01844/1.26, allocations: 5.812 MB / 1.361 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/1.26, allocations: 38.56 kB / 1.361 GB, free: 12.23 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 1.784e-06/1.26, allocations: 0 / 1.361 GB, free: 12.23 MB / 1.092 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.09655/1.357, allocations: 31.92 MB / 1.392 GB, free: 12.29 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.357, allocations: 137 kB / 1.392 GB, free: 12.13 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/1.358, allocations: 369.6 kB / 1.393 GB, free: 11.77 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/1.358, allocations: 37.7 kB / 1.393 GB, free: 11.72 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/1.358, allocations: 300.8 kB / 1.393 GB, free: 11.42 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/1.358, allocations: 190.4 kB / 1.393 GB, free: 11.23 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/1.359, allocations: 114.2 kB / 1.393 GB, free: 11.12 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.359, allocations: 362.7 kB / 1.394 GB, free: 10.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/1.359, allocations: 233 kB / 1.394 GB, free: 10.52 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007348/1.36, allocations: 372.5 kB / 1.394 GB, free: 10.11 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/1.361, allocations: 0.5903 MB / 1.395 GB, free: 9.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.361, allocations: 0 / 1.395 GB, free: 9.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0022/1.364, allocations: 0.7977 MB / 1.395 GB, free: 8.668 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/1.364, allocations: 9.656 kB / 1.396 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.364, allocations: 4 kB / 1.396 GB, free: 8.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000559/1.364, allocations: 121.9 kB / 1.396 GB, free: 8.531 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/1.365, allocations: 127.8 kB / 1.396 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/1.369, allocations: 3.429 MB / 1.399 GB, free: 4.699 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/1.369, allocations: 39.91 kB / 1.399 GB, free: 4.66 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/1.369, allocations: 23.98 kB / 1.399 GB, free: 4.637 MB / 1.123 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.0003403/1.37, allocations: 189.7 kB / 1.399 GB, free: 4.441 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/1.37, allocations: 55.67 kB / 1.399 GB, free: 4.387 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/1.372, allocations: 0.786 MB / 1.4 GB, free: 3.586 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.372, allocations: 4 kB / 1.4 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.372, allocations: 4 kB / 1.4 GB, free: 3.578 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.372, allocations: 7.984 kB / 1.4 GB, free: 3.57 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/1.376, allocations: 1.604 MB / 1.402 GB, free: 1.867 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.376, allocations: 4 kB / 1.402 GB, free: 1.863 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/1.376, allocations: 103.8 kB / 1.402 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/1.376, allocations: 72.83 kB / 1.402 GB, free: 1.688 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/1.376, allocations: 16 kB / 1.402 GB, free: 1.672 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/1.378, allocations: 1.779 MB / 1.404 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.378, allocations: 7.969 kB / 1.404 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/1.381, allocations: 1.028 MB / 1.405 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/1.381, allocations: 132.8 kB / 1.405 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/1.381, allocations: 19.92 kB / 1.405 GB, free: 14.49 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/1.382, allocations: 27.98 kB / 1.405 GB, free: 14.46 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.382, allocations: 43.95 kB / 1.405 GB, free: 14.42 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/1.382, allocations: 27.92 kB / 1.405 GB, free: 14.39 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005313/1.382, allocations: 354.8 kB / 1.405 GB, free: 14.05 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.51e-07/1.382, allocations: 0 / 1.405 GB, free: 14.05 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004741/1.387, allocations: 1.394 MB / 1.407 GB, free: 12.65 MB / 1.139 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.008675/1.396, allocations: 0.7652 MB / 1.407 GB, free: 11.89 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00235/1.398, allocations: 0.8189 MB / 1.408 GB, free: 11.04 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.398, allocations: 448 / 1.408 GB, free: 11.04 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/1.399, allocations: 386.3 kB / 1.409 GB, free: 10.65 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/1.401, allocations: 346 kB / 1.409 GB, free: 10.32 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/1.404, allocations: 1.213 MB / 1.41 GB, free: 9.051 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/1.404, allocations: 0.8751 MB / 1.411 GB, free: 8.148 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006592/1.405, allocations: 143.2 kB / 1.411 GB, free: 8.016 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/1.405, allocations: 59.42 kB / 1.411 GB, free: 7.957 MB / 1.139 GB Notification: Performance of SimCode: time 3.166e-06/1.405, allocations: 0 / 1.411 GB, free: 7.957 MB / 1.139 GB Notification: Performance of Templates: time 0.1224/1.527, allocations: 64.16 MB / 1.474 GB, free: 8.438 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)