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.001638/0.001637, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01391/0.01391, allocations: 170 kB / 16.26 MB, free: 6.613 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.549/2.549, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003546, allocations: 12 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.777, allocations: 153.8 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1728/0.9499, allocations: 158.5 MB / 1.178 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.9621, allocations: 9.66 MB / 1.187 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.9629, allocations: 19.88 kB / 1.187 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.9639, allocations: 278.5 kB / 1.188 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.9666, allocations: 0.9482 MB / 1.188 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00447/0.9711, allocations: 1.749 MB / 1.19 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.973, allocations: 1.809 MB / 1.192 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005386/0.9735, allocations: 372.4 kB / 1.192 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004857/0.9784, allocations: 1.91 MB / 1.194 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.9808, allocations: 1.299 MB / 1.195 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.71e-05/0.9809, allocations: 24 kB / 1.195 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005198/0.9861, allocations: 2.793 MB / 1.198 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.9863, allocations: 131.5 kB / 1.198 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004202/0.9867, allocations: 344.1 kB / 1.199 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.9895, allocations: 2.182 MB / 1.201 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.9895, allocations: 0 / 1.201 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9895, allocations: 4 kB / 1.201 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.9895, allocations: 4 kB / 1.201 GB, free: 9.27 MB / 0.9512 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.001603/0.9911, allocations: 0.8735 MB / 1.202 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.9912, allocations: 16.03 kB / 1.202 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.9923, allocations: 147.2 kB / 1.202 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.9928, allocations: 425.5 kB / 1.202 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.9928, allocations: 41.31 kB / 1.202 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.771e-05/0.9929, allocations: 52 kB / 1.202 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.9941, allocations: 0.6721 MB / 1.203 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.9941, allocations: 3.938 kB / 1.203 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.9942, allocations: 24 kB / 1.203 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.9942, allocations: 15.94 kB / 1.203 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.9953, allocations: 0.4956 MB / 1.203 GB, free: 6.379 MB / 0.9512 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.003238/0.9985, allocations: 2.986 MB / 1.206 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.9991, allocations: 277.4 kB / 1.207 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.9995, allocations: 168.8 kB / 1.207 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/1.017, allocations: 5.816 MB / 1.212 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/1.017, allocations: 38.56 kB / 1.213 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 4.018e-06/1.017, allocations: 0 / 1.213 GB, free: 12.62 MB / 0.9669 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.6049/1.622, allocations: 30.43 MB / 1.242 GB, free: 205.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/1.622, allocations: 135.1 kB / 1.242 GB, free: 205.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/1.623, allocations: 370.4 kB / 1.243 GB, free: 205.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/1.623, allocations: 34.73 kB / 1.243 GB, free: 205.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/1.623, allocations: 296.4 kB / 1.243 GB, free: 204.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/1.623, allocations: 184.5 kB / 1.243 GB, free: 204.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/1.623, allocations: 47.38 kB / 1.243 GB, free: 204.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/1.623, allocations: 359 kB / 1.244 GB, free: 204.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/1.624, allocations: 240.2 kB / 1.244 GB, free: 204.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/1.625, allocations: 382.6 kB / 1.244 GB, free: 204 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.626, allocations: 0.6028 MB / 1.245 GB, free: 203.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.626, allocations: 5.062 kB / 1.245 GB, free: 203.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002063/1.628, allocations: 0.8017 MB / 1.246 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.628, allocations: 7.25 kB / 1.246 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/1.628, allocations: 2.969 kB / 1.246 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/1.628, allocations: 122.6 kB / 1.246 GB, free: 203.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/1.629, allocations: 133.3 kB / 1.246 GB, free: 203.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/1.632, allocations: 3.097 MB / 1.249 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/1.632, allocations: 58.73 kB / 1.249 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/1.632, allocations: 28.81 kB / 1.249 GB, free: 200.4 MB / 0.9825 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.0002805/1.633, allocations: 200.6 kB / 1.249 GB, free: 200.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/1.633, allocations: 50.05 kB / 1.249 GB, free: 200.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/1.635, allocations: 0.7983 MB / 1.25 GB, free: 199.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.635, allocations: 5.094 kB / 1.25 GB, free: 199.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/1.635, allocations: 2.281 kB / 1.25 GB, free: 199.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/1.635, allocations: 6.969 kB / 1.25 GB, free: 199.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/1.638, allocations: 1.614 MB / 1.252 GB, free: 199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/1.638, allocations: 2.531 kB / 1.252 GB, free: 199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/1.639, allocations: 108.3 kB / 1.252 GB, free: 199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/1.639, allocations: 76.56 kB / 1.252 GB, free: 198.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/1.639, allocations: 14.28 kB / 1.252 GB, free: 198.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/1.641, allocations: 1.601 MB / 1.253 GB, free: 197.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.641, allocations: 7.812 kB / 1.253 GB, free: 197.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/1.643, allocations: 1.03 MB / 1.254 GB, free: 196.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/1.643, allocations: 143.4 kB / 1.254 GB, free: 196.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/1.643, allocations: 19.42 kB / 1.254 GB, free: 196.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/1.644, allocations: 55.41 kB / 1.255 GB, free: 196.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.644, allocations: 39.11 kB / 1.255 GB, free: 196.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/1.644, allocations: 23.66 kB / 1.255 GB, free: 196.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004859/1.644, allocations: 360.6 kB / 1.255 GB, free: 196.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.644, allocations: 1.219 kB / 1.255 GB, free: 196.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005201/1.649, allocations: 1.389 MB / 1.256 GB, free: 196.5 MB / 0.9825 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.006463/1.656, allocations: 0.7635 MB / 1.257 GB, free: 196.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00187/1.658, allocations: 0.8215 MB / 1.258 GB, free: 195.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.658, allocations: 2.156 kB / 1.258 GB, free: 195.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007271/1.659, allocations: 390.7 kB / 1.258 GB, free: 195.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.661, allocations: 319.6 kB / 1.259 GB, free: 195.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/1.663, allocations: 1.473 MB / 1.26 GB, free: 194.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/1.663, allocations: 0.8771 MB / 1.261 GB, free: 194.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006823/1.664, allocations: 151.9 kB / 1.261 GB, free: 194.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/1.664, allocations: 63.31 kB / 1.261 GB, free: 194.1 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/1.664, allocations: 0 / 1.261 GB, free: 194.1 MB / 0.9825 GB Notification: Performance of Templates: time 0.0757/1.74, allocations: 63.2 MB / 1.323 GB, free: 150.5 MB / 0.9825 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 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)