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.001486/0.001486, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001794/0.001794, allocations: 190.2 kB / 16.13 MB, free: 6.66 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 279.2 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9333/0.9333, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 91.78 kB / 0.5946 GB, free: 28.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.133, allocations: 86.99 MB / 0.6795 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4281/0.5611, allocations: 179.6 MB / 0.8549 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00793/0.5691, allocations: 5.419 MB / 0.8602 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.5701, allocations: 34.75 kB / 0.8603 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.5712, allocations: 381.7 kB / 0.8606 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003696/0.5749, allocations: 1.572 MB / 0.8622 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.5767, allocations: 0.7187 MB / 0.8629 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002919/0.5797, allocations: 2.988 MB / 0.8658 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000833/0.5805, allocations: 0.5932 MB / 0.8664 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.5815, allocations: 0.6295 MB / 0.867 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.5832, allocations: 0.7017 MB / 0.8677 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.36e-05/0.5834, allocations: 39.22 kB / 0.8677 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.5861, allocations: 1.619 MB / 0.8693 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002923/0.5864, allocations: 279.3 kB / 0.8695 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.5869, allocations: 422.7 kB / 0.8699 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.5889, allocations: 1.71 MB / 0.8716 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.589, allocations: 2.094 kB / 0.8716 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.41e-07/0.589, allocations: 0 / 0.8716 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.589, allocations: 0 / 0.8716 GB, free: 13.48 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.001627/0.5906, allocations: 1.181 MB / 0.8728 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5907, allocations: 14 kB / 0.8728 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.5908, allocations: 102.7 kB / 0.8729 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.5926, allocations: 277.2 kB / 0.8731 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/0.5935, allocations: 0.674 MB / 0.8738 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.5936, allocations: 43.59 kB / 0.8738 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.559e-05/0.5937, allocations: 64.44 kB / 0.8739 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009436/0.5946, allocations: 0.577 MB / 0.8745 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5946, allocations: 0 / 0.8745 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.5947, allocations: 27.48 kB / 0.8745 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5947, allocations: 25.16 kB / 0.8745 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.5956, allocations: 0.5025 MB / 0.875 GB, free: 11.13 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.002881/0.5985, allocations: 2.385 MB / 0.8773 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.5992, allocations: 422.6 kB / 0.8777 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.5995, allocations: 225.9 kB / 0.878 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.5997, allocations: 103.7 kB / 0.8781 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5997, allocations: 41.31 kB / 0.8781 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.5998, allocations: 0 / 0.8781 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.002689/0.6024, allocations: 1.437 MB / 0.8795 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.6025, allocations: 57.09 kB / 0.8796 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.603, allocations: 0.536 MB / 0.8801 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.6031, allocations: 38.98 kB / 0.8801 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.6033, allocations: 330.2 kB / 0.8804 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.6034, allocations: 173.6 kB / 0.8806 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.6035, allocations: 92.12 kB / 0.8807 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6037, allocations: 373.5 kB / 0.881 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.604, allocations: 174.9 kB / 0.8812 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.6043, allocations: 262.1 kB / 0.8815 GB, free: 6.184 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.003221/0.6076, allocations: 1.442 MB / 0.8829 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6076, allocations: 0 / 0.8829 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007807/0.6083, allocations: 0.5204 MB / 0.8834 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.6084, allocations: 7.375 kB / 0.8834 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.6084, allocations: 0 / 0.8834 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6084, allocations: 9.031 kB / 0.8834 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.6088, allocations: 96.2 kB / 0.8835 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6088, allocations: 6.438 kB / 0.8835 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.6095, allocations: 47.97 kB / 0.8835 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.6095, allocations: 17.81 kB / 0.8836 GB, free: 4.992 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.0002898/0.6098, allocations: 252.2 kB / 0.8838 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.6099, allocations: 70.44 kB / 0.8839 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.6101, allocations: 79.89 kB / 0.8839 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6101, allocations: 4.812 kB / 0.8839 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.6101, allocations: 0 / 0.8839 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006629/0.6108, allocations: 0.5081 MB / 0.8844 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.6131, allocations: 1.587 MB / 0.886 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6131, allocations: 7.312 kB / 0.886 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.6136, allocations: 117.9 kB / 0.8861 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6136, allocations: 7.75 kB / 0.8861 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.6136, allocations: 19.95 kB / 0.8861 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.6137, allocations: 13.31 kB / 0.8861 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.6137, allocations: 9.25 kB / 0.8862 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.6148, allocations: 0.9034 MB / 0.887 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.615, allocations: 198.9 kB / 0.8872 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.395e-05/0.6151, allocations: 19.2 kB / 0.8872 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/0.6157, allocations: 37.67 kB / 0.8873 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.6158, allocations: 49.2 kB / 0.8873 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.6159, allocations: 21.81 kB / 0.8873 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004085/0.6163, allocations: 398.9 kB / 0.8877 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6163, allocations: 0 / 0.8877 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000673/0.617, allocations: 200.9 kB / 0.8879 GB, free: 1.848 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.001669/0.6186, allocations: 1.534 MB / 0.8894 GB, free: 240 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007497/0.6194, allocations: 437.5 kB / 0.8898 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6194, allocations: 0 / 0.8898 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.6198, allocations: 236.1 kB / 0.8901 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.6219, allocations: 472.2 kB / 0.8905 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007399/0.6293, allocations: 5.865 MB / 0.8962 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.6298, allocations: 0.9733 MB / 0.8972 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006359/0.6305, allocations: 157.9 kB / 0.8973 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.6308, allocations: 251.3 kB / 0.8976 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.6308, allocations: 0 / 0.8976 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.6624, allocations: 19.49 MB / 0.9166 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.6626, allocations: 285.5 kB / 0.9169 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.784, allocations: 4 kB / 0.9169 GB, free: 4.137 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)