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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007129/0.007129, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.001614/0.001614, allocations: 204.1 kB / 16.68 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.643/2.643, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 71.81 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2824, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.7668/1.049, allocations: 162.7 MB / 1.325 GB, free: 7.148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01217/1.062, allocations: 8.873 MB / 1.334 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009584/1.063, allocations: 19 kB / 1.334 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/1.064, allocations: 349.8 kB / 1.334 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003115/1.067, allocations: 1.134 MB / 1.335 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005704/1.073, allocations: 2.145 MB / 1.337 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001875/1.074, allocations: 1.376 MB / 1.339 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006236/1.075, allocations: 437.5 kB / 1.339 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005299/1.08, allocations: 2.135 MB / 1.341 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/1.084, allocations: 1.305 MB / 1.342 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/1.084, allocations: 52.25 kB / 1.342 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006073/1.09, allocations: 2.896 MB / 1.345 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/1.09, allocations: 145.8 kB / 1.345 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005568/1.091, allocations: 350.7 kB / 1.346 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003707/1.094, allocations: 2.236 MB / 1.348 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.094, allocations: 0 / 1.348 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/1.094, allocations: 4 kB / 1.348 GB, free: 11.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.301e-05/1.094, allocations: 1.375 kB / 1.348 GB, free: 11.24 MB / 1.029 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.002252/1.097, allocations: 1.022 MB / 1.349 GB, free: 10.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.097, allocations: 9.188 kB / 1.349 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.843e-05/1.097, allocations: 98.11 kB / 1.349 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/1.098, allocations: 148.9 kB / 1.349 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/1.099, allocations: 442.9 kB / 1.35 GB, free: 9.887 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/1.099, allocations: 42.97 kB / 1.35 GB, free: 9.863 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/1.099, allocations: 50.22 kB / 1.35 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/1.1, allocations: 0.6535 MB / 1.35 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/1.1, allocations: 1.062 kB / 1.35 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/1.1, allocations: 30.81 kB / 1.35 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/1.1, allocations: 21.17 kB / 1.35 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/1.101, allocations: 487.1 kB / 1.351 GB, free: 9.137 MB / 1.029 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.003281/1.104, allocations: 2.987 MB / 1.354 GB, free: 6.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/1.105, allocations: 280.4 kB / 1.354 GB, free: 6.191 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/1.105, allocations: 166.6 kB / 1.354 GB, free: 6.105 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01852/1.124, allocations: 5.815 MB / 1.36 GB, free: 3.055 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/1.124, allocations: 40.16 kB / 1.36 GB, free: 3.012 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.324e-06/1.124, allocations: 4 kB / 1.36 GB, free: 3.008 MB / 1.029 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.08925/1.213, allocations: 31.89 MB / 1.391 GB, free: 14.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/1.213, allocations: 137 kB / 1.391 GB, free: 13.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/1.214, allocations: 381.5 kB / 1.392 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/1.214, allocations: 37.7 kB / 1.392 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/1.214, allocations: 296.8 kB / 1.392 GB, free: 13.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/1.214, allocations: 186.4 kB / 1.392 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/1.214, allocations: 114.2 kB / 1.392 GB, free: 12.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.214, allocations: 358.7 kB / 1.392 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/1.215, allocations: 241 kB / 1.393 GB, free: 12.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/1.216, allocations: 372.5 kB / 1.393 GB, free: 11.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/1.217, allocations: 0.5942 MB / 1.394 GB, free: 11.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.217, allocations: 0 / 1.394 GB, free: 11.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001892/1.219, allocations: 0.7899 MB / 1.394 GB, free: 10.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.219, allocations: 14.34 kB / 1.394 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.219, allocations: 4 kB / 1.394 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004727/1.219, allocations: 125.6 kB / 1.395 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000542/1.22, allocations: 131.8 kB / 1.395 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/1.222, allocations: 3.431 MB / 1.398 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/1.223, allocations: 35.91 kB / 1.398 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/1.223, allocations: 27.94 kB / 1.398 GB, free: 6.406 MB / 1.061 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.0002572/1.223, allocations: 201.7 kB / 1.398 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/1.224, allocations: 55.67 kB / 1.398 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/1.225, allocations: 0.7821 MB / 1.399 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.225, allocations: 4 kB / 1.399 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/1.225, allocations: 4 kB / 1.399 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.225, allocations: 4.031 kB / 1.399 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/1.228, allocations: 1.618 MB / 1.401 GB, free: 3.621 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/1.228, allocations: 4 kB / 1.401 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/1.229, allocations: 103.8 kB / 1.401 GB, free: 3.516 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003055/1.229, allocations: 65.19 kB / 1.401 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/1.229, allocations: 19.98 kB / 1.401 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/1.231, allocations: 1.775 MB / 1.403 GB, free: 1.516 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.231, allocations: 3.938 kB / 1.403 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/1.233, allocations: 1.024 MB / 1.404 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/1.233, allocations: 132.7 kB / 1.404 GB, free: 284 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.233, allocations: 19.94 kB / 1.404 GB, free: 264 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/1.234, allocations: 36.03 kB / 1.404 GB, free: 228 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/1.234, allocations: 44.03 kB / 1.404 GB, free: 184 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/1.234, allocations: 27.92 kB / 1.404 GB, free: 156 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004343/1.234, allocations: 350.8 kB / 1.404 GB, free: 15.81 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.01e-07/1.234, allocations: 3.938 kB / 1.404 GB, free: 15.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005011/1.239, allocations: 1.398 MB / 1.406 GB, free: 14.41 MB / 1.076 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.01118/1.25, allocations: 2.224 MB / 1.408 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00193/1.252, allocations: 0.8191 MB / 1.409 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.252, allocations: 4 kB / 1.409 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/1.253, allocations: 378.6 kB / 1.409 GB, free: 10.89 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/1.255, allocations: 333 kB / 1.409 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.267, allocations: 5.815 MB / 1.415 GB, free: 4.516 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/1.267, allocations: 0.8789 MB / 1.416 GB, free: 3.609 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005634/1.268, allocations: 145.3 kB / 1.416 GB, free: 3.477 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/1.268, allocations: 219.3 kB / 1.416 GB, free: 3.262 MB / 1.076 GB Notification: Performance of SimCode: time 2.886e-06/1.268, allocations: 0 / 1.416 GB, free: 3.262 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/1.378, allocations: 70.06 MB / 1.485 GB, free: 14.11 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.48, allocations: 6.469 kB / 1.485 GB, free: 14.11 MB / 1.154 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)