Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_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.001171/0.001171, allocations: 108 kB / 15.6 MB, free: 132 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.001212/0.001212, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7929/0.7929, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.78 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4426, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2154/0.6581, allocations: 181.9 MB / 0.7578 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009397/0.6676, allocations: 5.344 MB / 0.763 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.6688, allocations: 31.81 kB / 0.763 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.6702, allocations: 441.4 kB / 0.7635 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.675, allocations: 1.668 MB / 0.7651 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.6771, allocations: 0.7932 MB / 0.7659 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003349/0.6805, allocations: 2.188 MB / 0.768 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.6815, allocations: 0.6774 MB / 0.7687 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.6829, allocations: 0.7354 MB / 0.7694 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.6846, allocations: 0.6879 MB / 0.7701 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.6847, allocations: 76 kB / 0.7701 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/0.6881, allocations: 1.395 MB / 0.7715 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.6885, allocations: 315.2 kB / 0.7718 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005659/0.689, allocations: 469.8 kB / 0.7722 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.6916, allocations: 1.64 MB / 0.7738 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6916, allocations: 0 / 0.7738 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6916, allocations: 0 / 0.7738 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.6916, allocations: 0 / 0.7738 GB, free: 10.54 MB / 0.6075 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.001952/0.6936, allocations: 1.184 MB / 0.775 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6936, allocations: 12.03 kB / 0.775 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.6937, allocations: 98.52 kB / 0.7751 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.6955, allocations: 274.7 kB / 0.7754 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.6965, allocations: 0.6748 MB / 0.776 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.6966, allocations: 41.31 kB / 0.7761 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.6967, allocations: 63.98 kB / 0.7761 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009535/0.6976, allocations: 0.5765 MB / 0.7767 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.6977, allocations: 0 / 0.7767 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.6977, allocations: 28 kB / 0.7767 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.6978, allocations: 17.31 kB / 0.7767 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008386/0.6986, allocations: 0.497 MB / 0.7772 GB, free: 6.977 MB / 0.6075 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.003119/0.7017, allocations: 2.396 MB / 0.7796 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.7024, allocations: 414.5 kB / 0.78 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.7028, allocations: 226.8 kB / 0.7802 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.703, allocations: 101 kB / 0.7803 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.703, allocations: 38.56 kB / 0.7803 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.346e-06/0.703, allocations: 4 kB / 0.7803 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.002963/0.706, allocations: 1.431 MB / 0.7817 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.706, allocations: 63.78 kB / 0.7818 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.7067, allocations: 0.546 MB / 0.7823 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.7068, allocations: 37.7 kB / 0.7823 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.707, allocations: 320.7 kB / 0.7826 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.7072, allocations: 169.5 kB / 0.7828 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.7074, allocations: 94.16 kB / 0.7829 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7075, allocations: 366.8 kB / 0.7832 GB, free: 496 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.7078, allocations: 177 kB / 0.7834 GB, free: 316 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.7082, allocations: 260.8 kB / 0.7837 GB, free: 36 kB / 0.6075 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.003212/0.7114, allocations: 1.419 MB / 0.785 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7114, allocations: 4 kB / 0.785 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008517/0.7123, allocations: 0.5304 MB / 0.7856 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.7123, allocations: 4.156 kB / 0.7856 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.7123, allocations: 8 kB / 0.7856 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.7123, allocations: 4 kB / 0.7856 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.7128, allocations: 99.83 kB / 0.7857 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.7128, allocations: 3.938 kB / 0.7857 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.7134, allocations: 12 kB / 0.7857 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.7134, allocations: 19.98 kB / 0.7857 GB, free: 13.87 MB / 0.6231 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.0003487/0.7138, allocations: 257.6 kB / 0.786 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.7139, allocations: 75.2 kB / 0.786 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.7141, allocations: 78.44 kB / 0.7861 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.7141, allocations: 8 kB / 0.7861 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.7141, allocations: 3.938 kB / 0.7861 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007149/0.7148, allocations: 0.5067 MB / 0.7866 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.7171, allocations: 1.59 MB / 0.7882 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.7171, allocations: 4 kB / 0.7882 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/0.7177, allocations: 119.8 kB / 0.7883 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.7177, allocations: 8.625 kB / 0.7883 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.7177, allocations: 19.94 kB / 0.7883 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.7177, allocations: 8 kB / 0.7883 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.7177, allocations: 7.938 kB / 0.7883 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.719, allocations: 0.9413 MB / 0.7892 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.7193, allocations: 192.3 kB / 0.7894 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.633e-05/0.7194, allocations: 23.92 kB / 0.7894 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.7199, allocations: 19.94 kB / 0.7895 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.72, allocations: 47.83 kB / 0.7895 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.7201, allocations: 20 kB / 0.7895 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004926/0.7206, allocations: 398.8 kB / 0.7899 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7206, allocations: 4 kB / 0.7899 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000742/0.7213, allocations: 200 kB / 0.7901 GB, free: 9.113 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * 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.001993/0.7233, allocations: 1.561 MB / 0.7916 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000881/0.7242, allocations: 485.5 kB / 0.7921 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7242, allocations: 4 kB / 0.7921 GB, free: 7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.7246, allocations: 232.1 kB / 0.7923 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.7268, allocations: 498.9 kB / 0.7928 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007991/0.7348, allocations: 5.608 MB / 0.7983 GB, free: 484 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.7354, allocations: 0.9768 MB / 0.7992 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007261/0.7362, allocations: 157.9 kB / 0.7994 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.7366, allocations: 251.4 kB / 0.7996 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of SimCode: time 2.295e-06/0.7366, allocations: 0 / 0.7996 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3341/1.071, allocations: 20.29 MB / 0.8194 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/8.704, allocations: 6.125 kB / 0.8194 GB, free: 220.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)