Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009422/0.000942, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8262/0.8262, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.0009215, allocations: 99.47 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.326e-05/2.327e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.6147, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.473/6.087, allocations: 1.879 GB / 2.513 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/6.088, allocations: 87.73 kB / 2.513 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.125/7.213, allocations: 356 MB / 2.861 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/7.213, allocations: 0 / 2.861 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.385e-05/7.213, allocations: 23.98 kB / 2.861 GB, free: 72.8 MB / 0.6823 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.002062/7.215, allocations: 0.9661 MB / 2.862 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/7.215, allocations: 8.031 kB / 2.862 GB, free: 71.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/7.217, allocations: 272.8 kB / 2.862 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/7.218, allocations: 0.7024 MB / 2.863 GB, free: 70.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/7.218, allocations: 19.95 kB / 2.863 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/7.218, allocations: 40 kB / 2.863 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007957/7.219, allocations: 446.5 kB / 2.863 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/7.22, allocations: 471.9 kB / 2.864 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/7.22, allocations: 0 / 2.864 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/7.22, allocations: 4 kB / 2.864 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/7.22, allocations: 17.31 kB / 2.864 GB, free: 69.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002973/7.223, allocations: 2.262 MB / 2.866 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/7.224, allocations: 375.7 kB / 2.866 GB, free: 66.97 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/7.224, allocations: 201.8 kB / 2.866 GB, free: 66.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/7.224, allocations: 109 kB / 2.867 GB, free: 66.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/7.224, allocations: 38.56 kB / 2.867 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 5.841e-06/7.224, allocations: 0 / 2.867 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.002476/7.227, allocations: 1.173 MB / 2.868 GB, free: 65.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/7.227, allocations: 63.84 kB / 2.868 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/7.227, allocations: 382.2 kB / 2.868 GB, free: 64.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/7.227, allocations: 29.7 kB / 2.868 GB, free: 64.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/7.227, allocations: 324.3 kB / 2.868 GB, free: 64.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/7.227, allocations: 169.5 kB / 2.869 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/7.227, allocations: 0 / 2.869 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/7.228, allocations: 362.8 kB / 2.869 GB, free: 64.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/7.228, allocations: 161.1 kB / 2.869 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/7.228, allocations: 244.5 kB / 2.869 GB, free: 63.6 MB / 0.6823 GB 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) 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/7.23, allocations: 0.9899 MB / 2.87 GB, free: 62.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/7.23, allocations: 4 kB / 2.87 GB, free: 62.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006145/7.231, allocations: 479.2 kB / 2.871 GB, free: 62.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/7.231, allocations: 4 kB / 2.871 GB, free: 62.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/7.231, allocations: 0 / 2.871 GB, free: 62.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/7.231, allocations: 4.156 kB / 2.871 GB, free: 62.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/7.231, allocations: 95.91 kB / 2.871 GB, free: 62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/7.231, allocations: 11.89 kB / 2.871 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/7.232, allocations: 27.81 kB / 2.871 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/7.232, allocations: 20 kB / 2.871 GB, free: 61.94 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/7.232, allocations: 112.9 kB / 2.871 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005698/7.233, allocations: 443.2 kB / 2.872 GB, free: 61.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/7.233, allocations: 59.34 kB / 2.872 GB, free: 61.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/7.233, allocations: 77.53 kB / 2.872 GB, free: 61.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/7.233, allocations: 4 kB / 2.872 GB, free: 61.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/7.233, allocations: 0 / 2.872 GB, free: 61.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005153/7.234, allocations: 478.8 kB / 2.872 GB, free: 60.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/7.236, allocations: 1.445 MB / 2.874 GB, free: 59.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/7.236, allocations: 8 kB / 2.874 GB, free: 59.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/7.237, allocations: 115.9 kB / 2.874 GB, free: 59.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/7.237, allocations: 8 kB / 2.874 GB, free: 59.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/7.237, allocations: 15.92 kB / 2.874 GB, free: 59.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/7.237, allocations: 11.94 kB / 2.874 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/7.237, allocations: 7.953 kB / 2.874 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/7.238, allocations: 1.112 MB / 2.875 GB, free: 57.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/7.238, allocations: 188.4 kB / 2.875 GB, free: 57.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/7.238, allocations: 12 kB / 2.875 GB, free: 57.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/7.239, allocations: 31.88 kB / 2.875 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/7.239, allocations: 43.86 kB / 2.875 GB, free: 57.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/7.239, allocations: 23.98 kB / 2.875 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003263/7.239, allocations: 302.9 kB / 2.875 GB, free: 57.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/7.239, allocations: 0 / 2.875 GB, free: 57.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001064/7.24, allocations: 248 kB / 2.876 GB, free: 56.86 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002813/7.243, allocations: 4.114 MB / 2.88 GB, free: 52.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007939/7.244, allocations: 404.8 kB / 2.88 GB, free: 52.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/7.244, allocations: 0 / 2.88 GB, free: 52.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/7.244, allocations: 215.6 kB / 2.88 GB, free: 51.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/7.247, allocations: 407 kB / 2.881 GB, free: 51.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/7.249, allocations: 1.38 MB / 2.882 GB, free: 50.11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/7.25, allocations: 0.9921 MB / 2.883 GB, free: 49.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007244/7.25, allocations: 157.2 kB / 2.883 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/7.251, allocations: 247.4 kB / 2.883 GB, free: 48.7 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/7.251, allocations: 0 / 2.883 GB, free: 48.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05067/7.301, allocations: 25.47 MB / 2.908 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/7.302, allocations: 195.9 kB / 2.908 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/10.41, allocations: 0 / 2.908 GB, free: 23.18 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)