Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.001017/0.001017, allocations: 97.84 kB / 16.27 MB, free: 5.973 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.001148/0.001148, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7376/0.7376, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 55.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3282, allocations: 77.92 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1767/0.505, allocations: 181.9 MB / 0.7449 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3305/0.8356, allocations: 5.355 MB / 0.7501 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.8371, allocations: 35.31 kB / 0.7501 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.8388, allocations: 429.2 kB / 0.7505 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.8442, allocations: 1.681 MB / 0.7522 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.847, allocations: 0.7877 MB / 0.753 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004265/0.8513, allocations: 2.205 MB / 0.7551 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.8531, allocations: 0.6823 MB / 0.7558 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.8554, allocations: 0.7382 MB / 0.7565 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.8584, allocations: 0.6898 MB / 0.7572 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004797/0.8589, allocations: 76.62 kB / 0.7572 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.8634, allocations: 1.396 MB / 0.7586 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007265/0.8641, allocations: 315.6 kB / 0.7589 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.8656, allocations: 472.7 kB / 0.7594 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.8702, allocations: 1.647 MB / 0.761 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.8703, allocations: 2.906 kB / 0.761 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8703, allocations: 0.8438 kB / 0.761 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.971e-05/0.8703, allocations: 0 / 0.761 GB, free: 1.594 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.004071/0.8744, allocations: 1.181 MB / 0.7621 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.8745, allocations: 10.69 kB / 0.7621 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002802/0.8748, allocations: 103 kB / 0.7622 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.8777, allocations: 271.8 kB / 0.7625 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.8795, allocations: 0.6707 MB / 0.7631 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.8796, allocations: 45.27 kB / 0.7632 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.8798, allocations: 62.83 kB / 0.7632 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.8817, allocations: 0.5808 MB / 0.7638 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.8817, allocations: 0 / 0.7638 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.482e-05/0.8818, allocations: 27 kB / 0.7638 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.493e-05/0.8819, allocations: 24.89 kB / 0.7639 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.8834, allocations: 0.4968 MB / 0.7643 GB, free: 16.48 MB / 0.5919 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.005033/0.8885, allocations: 2.402 MB / 0.7667 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.8897, allocations: 432 kB / 0.7671 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.8902, allocations: 218.2 kB / 0.7673 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.8905, allocations: 100.7 kB / 0.7674 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.8905, allocations: 40.72 kB / 0.7674 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.525e-06/0.8905, allocations: 0 / 0.7674 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.00324/0.8938, allocations: 1.454 MB / 0.7689 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.8938, allocations: 57.88 kB / 0.7689 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.8945, allocations: 0.5388 MB / 0.7694 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.8946, allocations: 37.23 kB / 0.7695 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.8948, allocations: 322.8 kB / 0.7698 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.895, allocations: 169.3 kB / 0.77 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.8952, allocations: 92.8 kB / 0.77 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.8954, allocations: 374.3 kB / 0.7704 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.8957, allocations: 172 kB / 0.7706 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.8961, allocations: 260.5 kB / 0.7708 GB, free: 13.95 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.8994, allocations: 1.449 MB / 0.7722 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8994, allocations: 0.9062 kB / 0.7722 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008262/0.9002, allocations: 0.5262 MB / 0.7727 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.9002, allocations: 12.91 kB / 0.7728 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9002, allocations: 0 / 0.7728 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9003, allocations: 3.594 kB / 0.7728 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.9007, allocations: 99.11 kB / 0.7729 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.9007, allocations: 2.812 kB / 0.7729 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.9014, allocations: 22.72 kB / 0.7729 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.9014, allocations: 16.53 kB / 0.7729 GB, free: 13.61 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.9018, allocations: 248.8 kB / 0.7731 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.9019, allocations: 71.22 kB / 0.7732 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.902, allocations: 80.09 kB / 0.7733 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.9021, allocations: 4.875 kB / 0.7733 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.9021, allocations: 0 / 0.7733 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000642/0.9027, allocations: 0.5146 MB / 0.7738 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.9049, allocations: 1.579 MB / 0.7753 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.905, allocations: 10.06 kB / 0.7753 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.9055, allocations: 112.3 kB / 0.7754 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.9055, allocations: 7.688 kB / 0.7754 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.9055, allocations: 18.84 kB / 0.7755 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.9055, allocations: 12.19 kB / 0.7755 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.9055, allocations: 8.859 kB / 0.7755 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.9067, allocations: 0.8957 MB / 0.7764 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.907, allocations: 198.5 kB / 0.7766 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.9071, allocations: 22.53 kB / 0.7766 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.9077, allocations: 25.69 kB / 0.7766 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.9077, allocations: 46.08 kB / 0.7766 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.9078, allocations: 23.06 kB / 0.7767 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004006/0.9082, allocations: 405.2 kB / 0.777 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9082, allocations: 0 / 0.777 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006952/0.9089, allocations: 197.5 kB / 0.7772 GB, free: 12.24 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001649/0.9106, allocations: 1.534 MB / 0.7787 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007519/0.9113, allocations: 474.3 kB / 0.7792 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.9113, allocations: 0.9062 kB / 0.7792 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.9117, allocations: 235.7 kB / 0.7794 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.9138, allocations: 493.5 kB / 0.7799 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/0.9207, allocations: 5.629 MB / 0.7854 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.9212, allocations: 0.9783 MB / 0.7863 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006758/0.9219, allocations: 167.4 kB / 0.7865 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.9222, allocations: 247.2 kB / 0.7867 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.9223, allocations: 0 / 0.7867 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/0.9637, allocations: 20.25 MB / 0.8065 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/8.326, allocations: 6.172 kB / 0.8065 GB, free: 2.609 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)