Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.0006669/0.0006669, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007096/0.0007096, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.168/1.168, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5985/0.5985, allocations: 113.7 MB / 405.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 8 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.3934/0.5164, allocations: 173.4 MB / 0.7262 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006855/0.5233, allocations: 5.406 MB / 0.7315 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005136/0.5238, allocations: 35.75 kB / 0.7315 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.5247, allocations: 401.5 kB / 0.7319 GB, free: 7.578 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002551/0.5273, allocations: 1.376 MB / 0.7332 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.5292, allocations: 0.8546 MB / 0.7341 GB, free: 5.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00279/0.532, allocations: 3.442 MB / 0.7374 GB, free: 1.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007542/0.5327, allocations: 0.705 MB / 0.7381 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.5337, allocations: 0.8829 MB / 0.739 GB, free: 308 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009104/0.5347, allocations: 0.86 MB / 0.7398 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.931e-05/0.5348, allocations: 44 kB / 0.7399 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.5362, allocations: 0.6976 MB / 0.7406 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.5365, allocations: 390.8 kB / 0.7409 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.5367, allocations: 265.1 kB / 0.7412 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.5379, allocations: 1.484 MB / 0.7426 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5379, allocations: 0 / 0.7426 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5379, allocations: 0 / 0.7426 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5379, allocations: 0 / 0.7426 GB, free: 12.56 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001703/0.5396, allocations: 1.306 MB / 0.7439 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.5397, allocations: 8.031 kB / 0.7439 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.5398, allocations: 139.8 kB / 0.7441 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.5415, allocations: 314.3 kB / 0.7444 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00098/0.5425, allocations: 0.7895 MB / 0.7451 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.5426, allocations: 69.89 kB / 0.7452 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.5427, allocations: 80 kB / 0.7453 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.544, allocations: 0.9131 MB / 0.7462 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.544, allocations: 0 / 0.7462 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.709e-05/0.5441, allocations: 40 kB / 0.7462 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.5441, allocations: 30 kB / 0.7462 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.5454, allocations: 0.8276 MB / 0.747 GB, free: 7.949 MB / 0.5606 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.004186/0.5496, allocations: 3.545 MB / 0.7505 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.5502, allocations: 0.5042 MB / 0.751 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.5506, allocations: 295.7 kB / 0.7513 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.5508, allocations: 105.5 kB / 0.7514 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5508, allocations: 39 kB / 0.7514 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/0.5509, allocations: 0 / 0.7514 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.003217/0.5541, allocations: 1.95 MB / 0.7533 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.5541, allocations: 55.84 kB / 0.7534 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008106/0.5549, allocations: 0.798 MB / 0.7541 GB, free: 300 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.555, allocations: 37.7 kB / 0.7542 GB, free: 256 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.5553, allocations: 467.5 kB / 0.7546 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.5555, allocations: 181.3 kB / 0.7548 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.5555, allocations: 12 kB / 0.7548 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.5556, allocations: 330 kB / 0.7551 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.556, allocations: 245.2 kB / 0.7554 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.5564, allocations: 361.2 kB / 0.7557 GB, free: 14.64 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.5588, allocations: 1.006 MB / 0.7567 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5588, allocations: 0 / 0.7567 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001114/0.56, allocations: 0.7926 MB / 0.7575 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.56, allocations: 4 kB / 0.7575 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.56, allocations: 7.953 kB / 0.7575 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.5603, allocations: 97.64 kB / 0.7576 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.5608, allocations: 151.8 kB / 0.7577 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.5631, allocations: 3.062 MB / 0.7607 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.5638, allocations: 59.81 kB / 0.7608 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.5638, allocations: 31.98 kB / 0.7608 GB, free: 9.141 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000349/0.5642, allocations: 293.6 kB / 0.7611 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5643, allocations: 98.92 kB / 0.7612 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.5645, allocations: 100.7 kB / 0.7613 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5645, allocations: 4 kB / 0.7613 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5645, allocations: 0 / 0.7613 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008781/0.5654, allocations: 0.8505 MB / 0.7621 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.5677, allocations: 1.809 MB / 0.7639 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5677, allocations: 0 / 0.7639 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.5683, allocations: 135.9 kB / 0.764 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.5685, allocations: 76.98 kB / 0.7641 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.5685, allocations: 12 kB / 0.7641 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.5698, allocations: 1.652 MB / 0.7657 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5698, allocations: 0 / 0.7657 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.5711, allocations: 1.088 MB / 0.7667 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.5714, allocations: 228 kB / 0.767 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/0.5715, allocations: 20 kB / 0.767 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.5721, allocations: 72.44 kB / 0.7671 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.5722, allocations: 43.88 kB / 0.7671 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.5723, allocations: 35.97 kB / 0.7671 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005779/0.5728, allocations: 0.5498 MB / 0.7677 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5728, allocations: 0 / 0.7677 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007533/0.5736, allocations: 288 kB / 0.7679 GB, free: 1.406 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00178/0.5754, allocations: 1.717 MB / 0.7696 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.5765, allocations: 0.8043 MB / 0.7704 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5765, allocations: 4 kB / 0.7704 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.577, allocations: 420.3 kB / 0.7708 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.5792, allocations: 0.5755 MB / 0.7714 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006864/0.5861, allocations: 5.457 MB / 0.7767 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.5866, allocations: 1.087 MB / 0.7778 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007522/0.5874, allocations: 211.7 kB / 0.778 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.5878, allocations: 343.3 kB / 0.7783 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.5878, allocations: 3.938 kB / 0.7783 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/0.6277, allocations: 27.29 MB / 0.8049 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.6279, allocations: 264.1 kB / 0.8052 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.597, allocations: 0 / 0.8052 GB, free: 11.3 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) Environment - environmentSimulation: