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.001498/0.001498, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001713/0.001713, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.275/1.275, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 282.7 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9131/0.9131, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 95.97 kB / 0.5948 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1285, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4125/0.5411, allocations: 179.5 MB / 0.855 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007638/0.5487, allocations: 5.315 MB / 0.8602 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.5498, allocations: 34.66 kB / 0.8602 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.5509, allocations: 387.3 kB / 0.8606 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.5546, allocations: 1.572 MB / 0.8621 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.5563, allocations: 0.7343 MB / 0.8628 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002199/0.5585, allocations: 2.199 MB / 0.865 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007207/0.5593, allocations: 0.6831 MB / 0.8656 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008944/0.5602, allocations: 0.7405 MB / 0.8664 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.5617, allocations: 0.7289 MB / 0.8671 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-05/0.5619, allocations: 76.31 kB / 0.8671 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.5641, allocations: 1.462 MB / 0.8686 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.5644, allocations: 324.2 kB / 0.8689 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.5648, allocations: 480.5 kB / 0.8693 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.5667, allocations: 1.739 MB / 0.871 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5667, allocations: 2.75 kB / 0.871 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5667, allocations: 0 / 0.871 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.5667, allocations: 3.938 kB / 0.871 GB, free: 13.95 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.00156/0.5683, allocations: 1.18 MB / 0.8722 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.5683, allocations: 9.625 kB / 0.8722 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.5685, allocations: 95.14 kB / 0.8723 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.5703, allocations: 277.3 kB / 0.8726 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.5712, allocations: 0.6713 MB / 0.8732 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.5713, allocations: 42.22 kB / 0.8733 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/0.5714, allocations: 64.5 kB / 0.8733 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009605/0.5723, allocations: 0.5883 MB / 0.8739 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5723, allocations: 0 / 0.8739 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.5724, allocations: 27.44 kB / 0.8739 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.5724, allocations: 19 kB / 0.8739 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/0.5733, allocations: 0.5012 MB / 0.8744 GB, free: 11.61 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.002829/0.5761, allocations: 2.381 MB / 0.8768 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.5769, allocations: 426.8 kB / 0.8772 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.5772, allocations: 227.6 kB / 0.8774 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.5774, allocations: 104.4 kB / 0.8775 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.5774, allocations: 43.38 kB / 0.8775 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.5774, allocations: 0 / 0.8775 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.002667/0.5801, allocations: 1.436 MB / 0.8789 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.5801, allocations: 62.5 kB / 0.879 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.5807, allocations: 0.5343 MB / 0.8795 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.5807, allocations: 36.64 kB / 0.8795 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.5809, allocations: 328.2 kB / 0.8799 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.5811, allocations: 173.5 kB / 0.88 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.5812, allocations: 84.67 kB / 0.8801 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5813, allocations: 373.7 kB / 0.8805 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.5816, allocations: 183.7 kB / 0.8806 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.582, allocations: 250.2 kB / 0.8809 GB, free: 6.668 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.003226/0.5852, allocations: 1.451 MB / 0.8823 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5852, allocations: 0 / 0.8823 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007812/0.586, allocations: 0.528 MB / 0.8828 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.586, allocations: 9.438 kB / 0.8828 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5861, allocations: 0 / 0.8828 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5861, allocations: 8.938 kB / 0.8828 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.5865, allocations: 91.42 kB / 0.8829 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.5865, allocations: 6.5 kB / 0.8829 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/0.5872, allocations: 47.81 kB / 0.883 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.5872, allocations: 20.81 kB / 0.883 GB, free: 5.465 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.000278/0.5875, allocations: 250.7 kB / 0.8832 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.5876, allocations: 74.44 kB / 0.8833 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.5878, allocations: 80.3 kB / 0.8834 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5878, allocations: 4.719 kB / 0.8834 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5878, allocations: 2.531 kB / 0.8834 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006524/0.5884, allocations: 0.5074 MB / 0.8839 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.5906, allocations: 1.588 MB / 0.8854 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.5906, allocations: 4.562 kB / 0.8854 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.5911, allocations: 114.8 kB / 0.8855 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.5912, allocations: 7.969 kB / 0.8855 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.5912, allocations: 15.47 kB / 0.8856 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.5912, allocations: 19.7 kB / 0.8856 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5912, allocations: 10.44 kB / 0.8856 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.5923, allocations: 0.9023 MB / 0.8865 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.5926, allocations: 196.6 kB / 0.8866 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.5927, allocations: 11.72 kB / 0.8867 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.5933, allocations: 51.06 kB / 0.8867 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.5934, allocations: 51.88 kB / 0.8868 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.5934, allocations: 24.95 kB / 0.8868 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003898/0.5938, allocations: 393.8 kB / 0.8872 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5938, allocations: 0 / 0.8872 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006109/0.5944, allocations: 200.8 kB / 0.8873 GB, free: 2.445 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.001612/0.596, allocations: 1.532 MB / 0.8888 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.5969, allocations: 477.4 kB / 0.8893 GB, free: 428 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5969, allocations: 0 / 0.8893 GB, free: 428 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.5972, allocations: 237.1 kB / 0.8895 GB, free: 192 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.5993, allocations: 0.4906 MB / 0.89 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007188/0.6065, allocations: 5.856 MB / 0.8957 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.607, allocations: 0.9772 MB / 0.8967 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006119/0.6076, allocations: 169.8 kB / 0.8968 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.608, allocations: 251.4 kB / 0.8971 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.608, allocations: 0 / 0.8971 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/0.7204, allocations: 20.09 MB / 0.9167 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.7207, allocations: 288.2 kB / 0.917 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/2.92, allocations: 0 / 0.917 GB, free: 4.152 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)