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.004837/0.004837, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001565/0.001565, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002382/0.002382, allocations: 279 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.961/0.961, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 92.36 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1615, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4888/0.6503, allocations: 181.9 MB / 0.9435 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007873/0.6582, allocations: 5.358 MB / 0.9487 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/0.6587, allocations: 31.81 kB / 0.9488 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.6597, allocations: 445.4 kB / 0.9492 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.6631, allocations: 1.668 MB / 0.9508 GB, free: 5.703 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.6647, allocations: 0.8082 MB / 0.9516 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.6671, allocations: 2.206 MB / 0.9538 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008268/0.6679, allocations: 0.6816 MB / 0.9544 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009355/0.6688, allocations: 0.7432 MB / 0.9552 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.6703, allocations: 0.6782 MB / 0.9558 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.6704, allocations: 76 kB / 0.9559 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.6726, allocations: 1.403 MB / 0.9573 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.6729, allocations: 311.1 kB / 0.9576 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004595/0.6734, allocations: 485.7 kB / 0.958 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.6753, allocations: 1.676 MB / 0.9597 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6754, allocations: 0 / 0.9597 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6754, allocations: 0 / 0.9597 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6754, allocations: 0 / 0.9597 GB, free: 12.66 MB / 0.7169 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.001722/0.6771, allocations: 1.206 MB / 0.9608 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.6771, allocations: 8.031 kB / 0.9608 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.6773, allocations: 110.4 kB / 0.9609 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.679, allocations: 275.2 kB / 0.9612 GB, free: 11 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6801, allocations: 0.7183 MB / 0.9619 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.6802, allocations: 41.31 kB / 0.962 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/0.6803, allocations: 60 kB / 0.962 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/0.6813, allocations: 0.5765 MB / 0.9626 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.6813, allocations: 0 / 0.9626 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.6814, allocations: 31.98 kB / 0.9626 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.6814, allocations: 26.75 kB / 0.9626 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.6823, allocations: 0.5009 MB / 0.9631 GB, free: 9.008 MB / 0.7169 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.003165/0.6855, allocations: 2.389 MB / 0.9655 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007909/0.6863, allocations: 426.8 kB / 0.9659 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.6866, allocations: 218.9 kB / 0.9661 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.6868, allocations: 101.1 kB / 0.9662 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.6869, allocations: 42.56 kB / 0.9662 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.6869, allocations: 4 kB / 0.9662 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.002714/0.6896, allocations: 1.444 MB / 0.9676 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.6896, allocations: 55.84 kB / 0.9677 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.6903, allocations: 0.5422 MB / 0.9682 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.6903, allocations: 37.7 kB / 0.9682 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.6906, allocations: 329.1 kB / 0.9686 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.6908, allocations: 178.4 kB / 0.9687 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.6909, allocations: 94.2 kB / 0.9688 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6911, allocations: 370.7 kB / 0.9692 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.6914, allocations: 177 kB / 0.9693 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.6918, allocations: 264.8 kB / 0.9696 GB, free: 2.031 MB / 0.7169 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.003326/0.6951, allocations: 1.446 MB / 0.971 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.6951, allocations: 0 / 0.971 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008626/0.696, allocations: 0.5344 MB / 0.9715 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.696, allocations: 11.94 kB / 0.9715 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.696, allocations: 0 / 0.9715 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.6961, allocations: 4 kB / 0.9715 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.6965, allocations: 95.84 kB / 0.9716 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.6965, allocations: 4 kB / 0.9716 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.697, allocations: 15.98 kB / 0.9716 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.6971, allocations: 19.94 kB / 0.9717 GB, free: 15.84 MB / 0.7325 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.0002995/0.6974, allocations: 258.4 kB / 0.9719 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.6975, allocations: 67.58 kB / 0.972 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.6977, allocations: 82.45 kB / 0.9721 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6977, allocations: 4 kB / 0.9721 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6977, allocations: 0 / 0.9721 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007425/0.6984, allocations: 0.5106 MB / 0.9726 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.7008, allocations: 1.586 MB / 0.9741 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7008, allocations: 4.625 kB / 0.9741 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.7013, allocations: 111.8 kB / 0.9742 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.7013, allocations: 12 kB / 0.9742 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.7014, allocations: 19.98 kB / 0.9742 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.7014, allocations: 8 kB / 0.9743 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.7014, allocations: 11.88 kB / 0.9743 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.7026, allocations: 0.8986 MB / 0.9751 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.7029, allocations: 204.7 kB / 0.9753 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.703, allocations: 15.98 kB / 0.9754 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/0.7036, allocations: 18.95 kB / 0.9754 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.7037, allocations: 51.77 kB / 0.9754 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.7037, allocations: 27.92 kB / 0.9754 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004571/0.7042, allocations: 398.8 kB / 0.9758 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7042, allocations: 0 / 0.9758 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007297/0.7049, allocations: 203.9 kB / 0.976 GB, free: 11.14 MB / 0.7325 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.001806/0.7067, allocations: 1.536 MB / 0.9775 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007592/0.7075, allocations: 457.2 kB / 0.978 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7075, allocations: 0 / 0.978 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.7079, allocations: 229.6 kB / 0.9782 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.7099, allocations: 0.4891 MB / 0.9787 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/0.7171, allocations: 5.483 MB / 0.984 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.7178, allocations: 0.9771 MB / 0.985 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004945/0.7183, allocations: 169.8 kB / 0.9851 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.7186, allocations: 251.4 kB / 0.9854 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7187, allocations: 0 / 0.9854 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5069/1.226, allocations: 20.39 MB / 1.005 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/9.772, allocations: 6.312 kB / 1.005 GB, free: 13.25 MB / 0.7637 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)