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.0009567/0.0009568, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007576/0.007576, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001629/0.001629, allocations: 266.4 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004003, allocations: 17.53 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4399/0.5769, allocations: 177.2 MB / 0.8583 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007445/0.5844, allocations: 5.363 MB / 0.8635 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.585, allocations: 32.53 kB / 0.8636 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009316/0.586, allocations: 381 kB / 0.8639 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.5891, allocations: 1.57 MB / 0.8655 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.5906, allocations: 0.7218 MB / 0.8662 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002536/0.5932, allocations: 2.986 MB / 0.8691 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006835/0.5939, allocations: 0.5723 MB / 0.8697 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007847/0.5947, allocations: 0.6075 MB / 0.8703 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.5963, allocations: 0.6896 MB / 0.8709 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.5963, allocations: 27.56 kB / 0.871 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.5985, allocations: 1.604 MB / 0.8725 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.5988, allocations: 261.2 kB / 0.8728 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.5992, allocations: 432.8 kB / 0.8732 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.6008, allocations: 1.694 MB / 0.8748 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6009, allocations: 0 / 0.8748 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6009, allocations: 0 / 0.8748 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.6009, allocations: 4 kB / 0.8748 GB, free: 12.23 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.001393/0.6023, allocations: 1.01 MB / 0.8758 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.6023, allocations: 10.72 kB / 0.8758 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.6024, allocations: 108.4 kB / 0.8759 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.6042, allocations: 269.9 kB / 0.8762 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009049/0.6051, allocations: 0.6786 MB / 0.8769 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.6051, allocations: 45.97 kB / 0.8769 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.872e-05/0.6052, allocations: 54.47 kB / 0.877 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/0.6062, allocations: 0.5871 MB / 0.8775 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.6062, allocations: 3.984 kB / 0.8775 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.6063, allocations: 21.06 kB / 0.8776 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.6063, allocations: 21.22 kB / 0.8776 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.6072, allocations: 0.5042 MB / 0.8781 GB, free: 10 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.002946/0.6101, allocations: 2.39 MB / 0.8804 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.6109, allocations: 430.2 kB / 0.8808 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.6113, allocations: 216.8 kB / 0.881 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.6115, allocations: 105.1 kB / 0.8811 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.6115, allocations: 38.56 kB / 0.8812 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.6115, allocations: 0 / 0.8812 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.002762/0.6143, allocations: 1.441 MB / 0.8826 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.6143, allocations: 59.83 kB / 0.8826 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/0.6149, allocations: 0.5383 MB / 0.8831 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.615, allocations: 41.7 kB / 0.8832 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.6152, allocations: 320.7 kB / 0.8835 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.6154, allocations: 165.5 kB / 0.8836 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.6154, allocations: 49.69 kB / 0.8837 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6156, allocations: 378.7 kB / 0.8841 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.6159, allocations: 177 kB / 0.8842 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.6163, allocations: 256.8 kB / 0.8845 GB, free: 3.348 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.003449/0.6197, allocations: 1.457 MB / 0.8859 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6197, allocations: 0 / 0.8859 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000844/0.6206, allocations: 0.5226 MB / 0.8864 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6206, allocations: 16.14 kB / 0.8864 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.6206, allocations: 0 / 0.8864 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.6207, allocations: 4 kB / 0.8864 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.6211, allocations: 91.91 kB / 0.8865 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.6211, allocations: 4 kB / 0.8865 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/0.6218, allocations: 49.98 kB / 0.8866 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.6218, allocations: 20.56 kB / 0.8866 GB, free: 1.125 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 sytem: 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.000298/0.6221, allocations: 250.3 kB / 0.8868 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6222, allocations: 67.16 kB / 0.8869 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.6224, allocations: 78.45 kB / 0.887 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6224, allocations: 4 kB / 0.887 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6224, allocations: 4 kB / 0.887 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007066/0.6231, allocations: 0.5144 MB / 0.8875 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.6254, allocations: 1.586 MB / 0.889 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.6254, allocations: 12 kB / 0.889 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.626, allocations: 107.9 kB / 0.8891 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.626, allocations: 8 kB / 0.8891 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.626, allocations: 15.98 kB / 0.8892 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.6261, allocations: 11.94 kB / 0.8892 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6261, allocations: 7.938 kB / 0.8892 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.6272, allocations: 0.9108 MB / 0.8901 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.6275, allocations: 196.3 kB / 0.8902 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-05/0.6276, allocations: 19.98 kB / 0.8903 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/0.6282, allocations: 44.08 kB / 0.8903 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.6283, allocations: 47.77 kB / 0.8904 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.6283, allocations: 23.94 kB / 0.8904 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004381/0.6288, allocations: 402.8 kB / 0.8908 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6288, allocations: 0 / 0.8908 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006553/0.6294, allocations: 200 kB / 0.891 GB, free: 12.39 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.001715/0.6312, allocations: 1.53 MB / 0.8924 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007415/0.6319, allocations: 433.2 kB / 0.8929 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6319, allocations: 4 kB / 0.8929 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.6323, allocations: 232.9 kB / 0.8931 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.6349, allocations: 473 kB / 0.8935 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007619/0.6425, allocations: 5.94 MB / 0.8993 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.6431, allocations: 0.9733 MB / 0.9003 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000633/0.6437, allocations: 165.8 kB / 0.9004 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.6441, allocations: 247.4 kB / 0.9007 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of SimCode: time 1.763e-06/0.6441, allocations: 0 / 0.9007 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.676, allocations: 19.32 MB / 0.9196 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.6763, allocations: 280.3 kB / 0.9198 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.715, allocations: 0 / 0.9198 GB, free: 14.79 MB / 0.6387 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)