Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8764/0.8764, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 180.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.00104/0.00104, allocations: 72.14 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002224/0.002224, allocations: 271.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.664e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4314, allocations: 82.78 MB / 0.7575 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.599/5.031, allocations: 1.876 GB / 2.634 GB, free: 183.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/5.031, allocations: 86.91 kB / 2.634 GB, free: 183.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.165/6.196, allocations: 355.6 MB / 2.981 GB, free: 103.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/6.196, allocations: 4 kB / 2.981 GB, free: 103.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.408e-05/6.196, allocations: 16 kB / 2.981 GB, free: 103.2 MB / 0.698 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.00186/6.198, allocations: 0.9708 MB / 2.982 GB, free: 102.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/6.198, allocations: 8.031 kB / 2.982 GB, free: 102.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/6.2, allocations: 266.8 kB / 2.983 GB, free: 101.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/6.201, allocations: 0.6792 MB / 2.983 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/6.201, allocations: 21.38 kB / 2.983 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/6.201, allocations: 39.91 kB / 2.983 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007917/6.202, allocations: 454.4 kB / 2.984 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/6.203, allocations: 475.8 kB / 2.984 GB, free: 100.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/6.203, allocations: 4 kB / 2.984 GB, free: 100.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/6.203, allocations: 4 kB / 2.984 GB, free: 100.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/6.203, allocations: 25.25 kB / 2.984 GB, free: 100.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/6.205, allocations: 2.254 MB / 2.986 GB, free: 97.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/6.206, allocations: 371.5 kB / 2.987 GB, free: 97.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/6.206, allocations: 197.5 kB / 2.987 GB, free: 97.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/6.206, allocations: 101.8 kB / 2.987 GB, free: 97.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/6.206, allocations: 38.56 kB / 2.987 GB, free: 96.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 3.407e-06/6.206, allocations: 4 kB / 2.987 GB, free: 96.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002226/6.208, allocations: 1.166 MB / 2.988 GB, free: 95.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/6.209, allocations: 55.84 kB / 2.988 GB, free: 95.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/6.209, allocations: 373.4 kB / 2.989 GB, free: 95.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/6.209, allocations: 29.7 kB / 2.989 GB, free: 95.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/6.209, allocations: 332.3 kB / 2.989 GB, free: 94.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.644e-05/6.209, allocations: 161.5 kB / 2.989 GB, free: 94.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/6.209, allocations: 0 / 2.989 GB, free: 94.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/6.209, allocations: 370.7 kB / 2.989 GB, free: 94.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/6.21, allocations: 157.1 kB / 2.99 GB, free: 94.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/6.21, allocations: 240.5 kB / 2.99 GB, free: 94.01 MB / 0.698 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.002254/6.212, allocations: 0.9888 MB / 2.991 GB, free: 92.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/6.212, allocations: 0 / 2.991 GB, free: 92.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005996/6.213, allocations: 479.2 kB / 2.991 GB, free: 92.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/6.213, allocations: 4 kB / 2.991 GB, free: 92.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/6.213, allocations: 7.938 kB / 2.991 GB, free: 92.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/6.213, allocations: 4 kB / 2.991 GB, free: 92.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/6.213, allocations: 91.91 kB / 2.991 GB, free: 92.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/6.213, allocations: 7.984 kB / 2.991 GB, free: 92.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/6.214, allocations: 24.05 kB / 2.991 GB, free: 92.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/6.214, allocations: 16 kB / 2.991 GB, free: 92.36 MB / 0.698 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.0001273/6.214, allocations: 124.7 kB / 2.992 GB, free: 92.23 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005254/6.215, allocations: 435.4 kB / 2.992 GB, free: 91.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/6.215, allocations: 67.23 kB / 2.992 GB, free: 91.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/6.215, allocations: 65.48 kB / 2.992 GB, free: 91.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/6.215, allocations: 4 kB / 2.992 GB, free: 91.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/6.215, allocations: 0 / 2.992 GB, free: 91.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004433/6.215, allocations: 486.8 kB / 2.993 GB, free: 91.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/6.217, allocations: 1.441 MB / 2.994 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/6.217, allocations: 4 kB / 2.994 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/6.218, allocations: 119.8 kB / 2.994 GB, free: 89.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/6.218, allocations: 8.625 kB / 2.994 GB, free: 89.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/6.218, allocations: 11.98 kB / 2.994 GB, free: 89.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/6.218, allocations: 11.94 kB / 2.994 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/6.218, allocations: 8 kB / 2.994 GB, free: 89.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/6.219, allocations: 1.108 MB / 2.995 GB, free: 88.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/6.219, allocations: 192.3 kB / 2.995 GB, free: 87.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/6.219, allocations: 12 kB / 2.995 GB, free: 87.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/6.22, allocations: 39.77 kB / 2.995 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/6.22, allocations: 43.86 kB / 2.995 GB, free: 87.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/6.22, allocations: 23.98 kB / 2.995 GB, free: 87.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002774/6.22, allocations: 298.9 kB / 2.996 GB, free: 87.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/6.22, allocations: 0 / 2.996 GB, free: 87.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008572/6.221, allocations: 248 kB / 2.996 GB, free: 87.28 MB / 0.698 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.002851/6.224, allocations: 4.118 MB / 3 GB, free: 83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007171/6.224, allocations: 404.4 kB / 3 GB, free: 82.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/6.224, allocations: 0 / 3 GB, free: 82.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/6.225, allocations: 209 kB / 3.001 GB, free: 82.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/6.227, allocations: 405.4 kB / 3.001 GB, free: 82.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/6.23, allocations: 1.367 MB / 3.002 GB, free: 80.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/6.23, allocations: 0.9882 MB / 3.003 GB, free: 79.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000752/6.231, allocations: 153.1 kB / 3.003 GB, free: 79.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/6.231, allocations: 243.4 kB / 3.004 GB, free: 79.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.522e-06/6.231, allocations: 0 / 3.004 GB, free: 79.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05054/6.282, allocations: 25.4 MB / 3.028 GB, free: 53.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/6.282, allocations: 207.7 kB / 3.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/9.181, allocations: 0 / 3.029 GB, free: 53.62 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)