Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.014/3.014, allocations: 0.5003 GB / 0.8026 GB, free: 6.883 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.91 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9734/0.9754, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2162/1.192, allocations: 166.1 MB / 1.502 GB, free: 2.113 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01383/1.205, allocations: 8.923 MB / 1.511 GB, free: 9.168 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/1.206, allocations: 23.81 kB / 1.511 GB, free: 9.145 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/1.208, allocations: 365.8 kB / 1.511 GB, free: 8.785 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003577/1.212, allocations: 1.131 MB / 1.513 GB, free: 7.652 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006591/1.218, allocations: 2.141 MB / 1.515 GB, free: 5.52 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002326/1.22, allocations: 1.384 MB / 1.516 GB, free: 4.129 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000963/1.221, allocations: 381.4 kB / 1.516 GB, free: 3.75 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005977/1.227, allocations: 2.144 MB / 1.518 GB, free: 1.598 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/1.23, allocations: 1.334 MB / 1.52 GB, free: 260 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002043/1.231, allocations: 48 kB / 1.52 GB, free: 212 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006542/1.237, allocations: 2.903 MB / 1.523 GB, free: 13.3 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/1.237, allocations: 159.4 kB / 1.523 GB, free: 13.14 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007133/1.238, allocations: 342.5 kB / 1.523 GB, free: 12.81 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004786/1.243, allocations: 2.228 MB / 1.525 GB, free: 10.57 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.243, allocations: 0 / 1.525 GB, free: 10.57 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.385e-06/1.243, allocations: 0 / 1.525 GB, free: 10.57 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.284e-05/1.243, allocations: 4 kB / 1.525 GB, free: 10.57 MB / 1.201 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.002667/1.246, allocations: 1.02 MB / 1.526 GB, free: 9.5 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.246, allocations: 8.031 kB / 1.526 GB, free: 9.492 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.026e-05/1.246, allocations: 25.44 kB / 1.526 GB, free: 9.465 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/1.246, allocations: 98.45 kB / 1.526 GB, free: 9.359 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/1.247, allocations: 147.5 kB / 1.527 GB, free: 9.215 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008863/1.248, allocations: 433.9 kB / 1.527 GB, free: 8.754 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/1.248, allocations: 37.31 kB / 1.527 GB, free: 8.719 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/1.248, allocations: 52 kB / 1.527 GB, free: 8.668 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/1.25, allocations: 0.6643 MB / 1.528 GB, free: 7.957 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.25, allocations: 0 / 1.528 GB, free: 7.957 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.084e-05/1.25, allocations: 27.94 kB / 1.528 GB, free: 7.93 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/1.25, allocations: 20 kB / 1.528 GB, free: 7.91 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/1.251, allocations: 491.4 kB / 1.528 GB, free: 7.43 MB / 1.201 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.004226/1.255, allocations: 2.984 MB / 1.531 GB, free: 4.215 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/1.256, allocations: 266.4 kB / 1.531 GB, free: 3.945 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/1.256, allocations: 154 kB / 1.532 GB, free: 3.793 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01956/1.276, allocations: 5.812 MB / 1.537 GB, free: 13.75 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/1.276, allocations: 46.42 kB / 1.537 GB, free: 13.7 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/1.276, allocations: 0 / 1.537 GB, free: 13.7 MB / 1.217 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.09813/1.374, allocations: 31.88 MB / 1.568 GB, free: 13.77 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.374, allocations: 137 kB / 1.568 GB, free: 13.6 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/1.375, allocations: 377.6 kB / 1.569 GB, free: 13.23 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/1.375, allocations: 29.7 kB / 1.569 GB, free: 13.19 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/1.375, allocations: 308.7 kB / 1.569 GB, free: 12.89 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/1.375, allocations: 186.4 kB / 1.569 GB, free: 12.71 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/1.376, allocations: 110.2 kB / 1.569 GB, free: 12.59 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.376, allocations: 354.8 kB / 1.57 GB, free: 12.24 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/1.376, allocations: 240.9 kB / 1.57 GB, free: 12 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007727/1.377, allocations: 376.4 kB / 1.57 GB, free: 11.59 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/1.378, allocations: 0.598 MB / 1.571 GB, free: 10.95 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.378, allocations: 0 / 1.571 GB, free: 10.95 MB / 1.248 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002295/1.381, allocations: 0.7863 MB / 1.572 GB, free: 10.14 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.381, allocations: 14.09 kB / 1.572 GB, free: 10.13 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.381, allocations: 7.984 kB / 1.572 GB, free: 10.12 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/1.381, allocations: 117.6 kB / 1.572 GB, free: 10 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/1.382, allocations: 127.8 kB / 1.572 GB, free: 9.879 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/1.386, allocations: 3.433 MB / 1.575 GB, free: 6.164 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/1.386, allocations: 31.97 kB / 1.575 GB, free: 6.133 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/1.387, allocations: 27.98 kB / 1.575 GB, free: 6.105 MB / 1.248 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.0003677/1.387, allocations: 205.7 kB / 1.576 GB, free: 5.895 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/1.387, allocations: 51.67 kB / 1.576 GB, free: 5.844 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/1.389, allocations: 0.7826 MB / 1.576 GB, free: 5.051 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.389, allocations: 4 kB / 1.576 GB, free: 5.047 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.389, allocations: 4 kB / 1.576 GB, free: 5.043 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.389, allocations: 3.984 kB / 1.576 GB, free: 5.039 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/1.393, allocations: 1.595 MB / 1.578 GB, free: 3.344 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.393, allocations: 0 / 1.578 GB, free: 3.344 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/1.394, allocations: 103.9 kB / 1.578 GB, free: 3.242 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/1.394, allocations: 81.08 kB / 1.578 GB, free: 3.16 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/1.394, allocations: 23.94 kB / 1.578 GB, free: 3.137 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/1.396, allocations: 1.771 MB / 1.58 GB, free: 1.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.397, allocations: 7.938 kB / 1.58 GB, free: 1.223 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/1.399, allocations: 1.02 MB / 1.581 GB, free: 144 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/1.399, allocations: 136.8 kB / 1.581 GB, free: 15.98 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/1.4, allocations: 19.98 kB / 1.581 GB, free: 15.96 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/1.4, allocations: 32.05 kB / 1.581 GB, free: 15.93 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.4, allocations: 39.64 kB / 1.581 GB, free: 15.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/1.4, allocations: 23.98 kB / 1.581 GB, free: 15.88 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006569/1.401, allocations: 358.8 kB / 1.581 GB, free: 15.52 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/1.401, allocations: 4 kB / 1.581 GB, free: 15.52 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00645/1.408, allocations: 1.394 MB / 1.583 GB, free: 14.12 MB / 1.264 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.01197/1.42, allocations: 2.206 MB / 1.585 GB, free: 11.85 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002278/1.422, allocations: 0.7762 MB / 1.586 GB, free: 11.05 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/1.422, allocations: 4 kB / 1.586 GB, free: 11.05 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008988/1.423, allocations: 371.2 kB / 1.586 GB, free: 10.67 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.425, allocations: 343.5 kB / 1.586 GB, free: 10.34 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/1.438, allocations: 5.819 MB / 1.592 GB, free: 4.266 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/1.439, allocations: 0.8751 MB / 1.593 GB, free: 3.359 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006678/1.44, allocations: 144.4 kB / 1.593 GB, free: 3.227 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/1.44, allocations: 219.3 kB / 1.593 GB, free: 3.012 MB / 1.264 GB Notification: Performance of SimCode: time 7.61e-07/1.44, allocations: 0 / 1.593 GB, free: 3.012 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/1.577, allocations: 70.07 MB / 1.662 GB, free: 13.79 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/17.14, allocations: 12.62 kB / 1.662 GB, free: 13.78 MB / 1.342 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 23.856785572017543] Failed to read output from testmodel.py, exit status != 0: 17.33766843599733 17.364876209 16.116248035 Calling exit ...