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.004311/0.004311, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001021/0.001021, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002221/0.002221, allocations: 282.8 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9016/0.9016, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 97.75 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1565, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5126/0.6691, allocations: 181.9 MB / 0.9435 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007238/0.6764, allocations: 5.354 MB / 0.9487 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000797/0.6772, allocations: 35.81 kB / 0.9488 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.6783, allocations: 437.4 kB / 0.9492 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.6818, allocations: 1.673 MB / 0.9508 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.6837, allocations: 0.8054 MB / 0.9516 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002422/0.6861, allocations: 2.204 MB / 0.9538 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.6869, allocations: 0.6872 MB / 0.9544 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009842/0.6879, allocations: 0.7627 MB / 0.9552 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.6892, allocations: 0.676 MB / 0.9558 GB, free: 460 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.626e-05/0.6893, allocations: 79.94 kB / 0.9559 GB, free: 380 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.6919, allocations: 1.403 MB / 0.9573 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.6922, allocations: 315.2 kB / 0.9576 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005174/0.6928, allocations: 473.8 kB / 0.958 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.6953, allocations: 1.667 MB / 0.9597 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6953, allocations: 3.938 kB / 0.9597 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6953, allocations: 0 / 0.9597 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.6953, allocations: 0 / 0.9597 GB, free: 12.52 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.001633/0.697, allocations: 1.188 MB / 0.9608 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.697, allocations: 8.031 kB / 0.9608 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.6971, allocations: 102.5 kB / 0.9609 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.6989, allocations: 274.7 kB / 0.9612 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.6999, allocations: 0.7099 MB / 0.9619 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.6999, allocations: 45.31 kB / 0.9619 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.7, allocations: 52 kB / 0.962 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009013/0.701, allocations: 0.5843 MB / 0.9625 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.701, allocations: 0 / 0.9625 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.701, allocations: 20 kB / 0.9626 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.7011, allocations: 33.23 kB / 0.9626 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/0.7019, allocations: 0.5048 MB / 0.9631 GB, free: 8.898 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.002788/0.7047, allocations: 2.38 MB / 0.9654 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.7054, allocations: 430.8 kB / 0.9658 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.7057, allocations: 220.8 kB / 0.966 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.7059, allocations: 101.1 kB / 0.9661 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.7059, allocations: 38.56 kB / 0.9662 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.7059, allocations: 3.938 kB / 0.9662 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.002524/0.7084, allocations: 1.435 MB / 0.9676 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.7085, allocations: 55.84 kB / 0.9676 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.709, allocations: 0.5383 MB / 0.9682 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.7091, allocations: 37.7 kB / 0.9682 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.7093, allocations: 328.7 kB / 0.9685 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.7094, allocations: 165.5 kB / 0.9687 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.7096, allocations: 90.16 kB / 0.9687 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7097, allocations: 382.7 kB / 0.9691 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.71, allocations: 177 kB / 0.9693 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.7103, allocations: 254.4 kB / 0.9695 GB, free: 1.957 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.003036/0.7134, allocations: 1.446 MB / 0.9709 GB, free: 472 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7134, allocations: 4 kB / 0.9709 GB, free: 468 kB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000761/0.7141, allocations: 0.5266 MB / 0.9715 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7142, allocations: 7.984 kB / 0.9715 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7142, allocations: 4 kB / 0.9715 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.7142, allocations: 3.938 kB / 0.9715 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.7146, allocations: 95.84 kB / 0.9716 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7146, allocations: 4 kB / 0.9716 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.7151, allocations: 24.14 kB / 0.9716 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.7152, allocations: 19.94 kB / 0.9716 GB, free: 15.76 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.0002673/0.7155, allocations: 250.2 kB / 0.9718 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.7156, allocations: 71.16 kB / 0.9719 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.7157, allocations: 74.45 kB / 0.972 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.7157, allocations: 8 kB / 0.972 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7157, allocations: 0 / 0.972 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006306/0.7164, allocations: 0.5106 MB / 0.9725 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.7184, allocations: 1.59 MB / 0.974 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7185, allocations: 7.938 kB / 0.9741 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.7189, allocations: 111.8 kB / 0.9742 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.719, allocations: 8 kB / 0.9742 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.719, allocations: 16 kB / 0.9742 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.719, allocations: 11.98 kB / 0.9742 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.719, allocations: 16.75 kB / 0.9742 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.7201, allocations: 0.8906 MB / 0.9751 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.7203, allocations: 196.3 kB / 0.9753 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.7204, allocations: 23.92 kB / 0.9753 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/0.7209, allocations: 18.03 kB / 0.9753 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.721, allocations: 51.77 kB / 0.9754 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.721, allocations: 24 kB / 0.9754 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003924/0.7214, allocations: 402.8 kB / 0.9758 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7214, allocations: 0 / 0.9758 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005799/0.722, allocations: 192 kB / 0.9759 GB, free: 11.07 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.001535/0.7235, allocations: 1.542 MB / 0.9775 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006696/0.7242, allocations: 441.2 kB / 0.9779 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.7242, allocations: 0 / 0.9779 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.7246, allocations: 241.5 kB / 0.9781 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.7264, allocations: 0.4886 MB / 0.9786 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.7326, allocations: 5.465 MB / 0.9839 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.7331, allocations: 0.9771 MB / 0.9849 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005221/0.7336, allocations: 169.8 kB / 0.985 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.734, allocations: 247.4 kB / 0.9853 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.734, allocations: 0 / 0.9853 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/0.7734, allocations: 20.73 MB / 1.006 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/9.013, allocations: 5.344 kB / 1.006 GB, free: 12.86 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)