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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 108 kB / 15.61 MB, free: 152 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.001013/0.001013, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002239/0.002239, allocations: 286.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9098/0.9098, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 99.55 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1279, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.3984/0.5263, allocations: 181.9 MB / 0.8579 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007462/0.5338, allocations: 5.353 MB / 0.8631 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.5343, allocations: 34.53 kB / 0.8631 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009867/0.5353, allocations: 438.1 kB / 0.8636 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.5385, allocations: 1.678 MB / 0.8652 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.5399, allocations: 0.7897 MB / 0.866 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.5417, allocations: 2.202 MB / 0.8681 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007104/0.5424, allocations: 0.6905 MB / 0.8688 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007598/0.5432, allocations: 0.7256 MB / 0.8695 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.5444, allocations: 0.6915 MB / 0.8702 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.5446, allocations: 77.06 kB / 0.8702 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.5465, allocations: 1.397 MB / 0.8716 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.5468, allocations: 315.7 kB / 0.8719 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.5472, allocations: 474.2 kB / 0.8724 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.5488, allocations: 1.643 MB / 0.874 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5488, allocations: 0 / 0.874 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5488, allocations: 3.938 kB / 0.874 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.5488, allocations: 0 / 0.874 GB, free: 11.49 MB / 0.5919 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.001489/0.5503, allocations: 1.183 MB / 0.8751 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.5503, allocations: 7.812 kB / 0.8751 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.5505, allocations: 105.2 kB / 0.8752 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.5521, allocations: 275 kB / 0.8755 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.553, allocations: 0.6655 MB / 0.8761 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.5531, allocations: 54.7 kB / 0.8762 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.332e-05/0.5532, allocations: 67.95 kB / 0.8763 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/0.5541, allocations: 0.5872 MB / 0.8768 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5541, allocations: 0 / 0.8768 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.5541, allocations: 20.91 kB / 0.8769 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.5542, allocations: 21.94 kB / 0.8769 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/0.555, allocations: 0.5016 MB / 0.8774 GB, free: 9.145 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.002749/0.5577, allocations: 2.393 MB / 0.8797 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.5585, allocations: 431.6 kB / 0.8801 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.5588, allocations: 230.5 kB / 0.8803 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.5589, allocations: 95.72 kB / 0.8804 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.559, allocations: 37.81 kB / 0.8805 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.559, allocations: 0 / 0.8805 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.002471/0.5614, allocations: 1.428 MB / 0.8819 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.5615, allocations: 60.72 kB / 0.8819 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/0.562, allocations: 0.5439 MB / 0.8824 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.5621, allocations: 38.95 kB / 0.8825 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.5623, allocations: 330.6 kB / 0.8828 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.5624, allocations: 165 kB / 0.883 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.5626, allocations: 88.41 kB / 0.883 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5627, allocations: 381.6 kB / 0.8834 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.563, allocations: 174.2 kB / 0.8836 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.5633, allocations: 256.2 kB / 0.8838 GB, free: 4.199 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.003092/0.5664, allocations: 1.448 MB / 0.8852 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.5664, allocations: 0 / 0.8852 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007459/0.5672, allocations: 0.5307 MB / 0.8857 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5672, allocations: 6.969 kB / 0.8858 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5672, allocations: 6.375 kB / 0.8858 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5672, allocations: 4.406 kB / 0.8858 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.5676, allocations: 100 kB / 0.8859 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5676, allocations: 4.062 kB / 0.8859 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.5682, allocations: 21.62 kB / 0.8859 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.5682, allocations: 20.16 kB / 0.8859 GB, free: 3.008 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.0002611/0.5685, allocations: 250.4 kB / 0.8861 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5686, allocations: 70.36 kB / 0.8862 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.5687, allocations: 87.77 kB / 0.8863 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5688, allocations: 5.25 kB / 0.8863 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5688, allocations: 0 / 0.8863 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000644/0.5694, allocations: 0.5081 MB / 0.8868 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.5715, allocations: 1.585 MB / 0.8883 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5715, allocations: 5.344 kB / 0.8883 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.572, allocations: 111.7 kB / 0.8885 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.572, allocations: 12.45 kB / 0.8885 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.572, allocations: 24.03 kB / 0.8885 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.572, allocations: 8.938 kB / 0.8885 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5721, allocations: 11.34 kB / 0.8885 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.5731, allocations: 0.9004 MB / 0.8894 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.5734, allocations: 200.2 kB / 0.8896 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/0.5735, allocations: 18.41 kB / 0.8896 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.574, allocations: 21.25 kB / 0.8896 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.5741, allocations: 46.61 kB / 0.8897 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.5741, allocations: 27.98 kB / 0.8897 GB, free: 228 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004227/0.5745, allocations: 394.8 kB / 0.8901 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5746, allocations: 4 kB / 0.8901 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005803/0.5751, allocations: 204 kB / 0.8903 GB, free: 15.64 MB / 0.6075 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.001583/0.5767, allocations: 1.521 MB / 0.8917 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007814/0.5775, allocations: 481.4 kB / 0.8922 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5775, allocations: 7.875 kB / 0.8922 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.5779, allocations: 232.6 kB / 0.8924 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.5799, allocations: 0.4899 MB / 0.8929 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006562/0.5865, allocations: 5.614 MB / 0.8984 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.587, allocations: 0.9811 MB / 0.8994 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005718/0.5876, allocations: 165.8 kB / 0.8995 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.5879, allocations: 247.4 kB / 0.8998 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.588, allocations: 0 / 0.8998 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4127/1.001, allocations: 20.27 MB / 0.9195 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.976, allocations: 15.38 kB / 0.9196 GB, free: 1.699 MB / 0.6231 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/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)