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.00491/0.00491, allocations: 96.11 kB / 15.73 MB, free: 6.039 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.001171/0.001171, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 279.1 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9003/0.9003, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 99.84 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1355, allocations: 86.97 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4557/0.5912, allocations: 181.9 MB / 0.9435 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00724/0.5984, allocations: 5.359 MB / 0.9487 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008677/0.5993, allocations: 35.81 kB / 0.9488 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.6005, allocations: 457.4 kB / 0.9492 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.6041, allocations: 1.735 MB / 0.9509 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.6058, allocations: 0.8094 MB / 0.9517 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002355/0.6082, allocations: 2.206 MB / 0.9538 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008853/0.6091, allocations: 0.6955 MB / 0.9545 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.6102, allocations: 0.7706 MB / 0.9553 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.6118, allocations: 0.6773 MB / 0.9559 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.6119, allocations: 80 kB / 0.956 GB, free: 444 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.6141, allocations: 1.411 MB / 0.9574 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.6144, allocations: 319.1 kB / 0.9577 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.615, allocations: 473.9 kB / 0.9581 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.6172, allocations: 1.664 MB / 0.9598 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6172, allocations: 0 / 0.9598 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6172, allocations: 3.938 kB / 0.9598 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.6172, allocations: 0 / 0.9598 GB, free: 12.57 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.001793/0.619, allocations: 1.214 MB / 0.961 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.619, allocations: 12.03 kB / 0.961 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.6192, allocations: 102.5 kB / 0.9611 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.6209, allocations: 275.2 kB / 0.9613 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.6221, allocations: 0.7182 MB / 0.962 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.6221, allocations: 46 kB / 0.9621 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.6222, allocations: 60 kB / 0.9621 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009527/0.6232, allocations: 0.5843 MB / 0.9627 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.6232, allocations: 0 / 0.9627 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.6233, allocations: 24 kB / 0.9627 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.6233, allocations: 29.3 kB / 0.9628 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.6242, allocations: 0.5009 MB / 0.9632 GB, free: 8.91 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.003036/0.6272, allocations: 2.389 MB / 0.9656 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.6279, allocations: 419.9 kB / 0.966 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.6283, allocations: 227.6 kB / 0.9662 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.6284, allocations: 97.09 kB / 0.9663 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6285, allocations: 38.56 kB / 0.9663 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.6285, allocations: 0 / 0.9663 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.002631/0.6311, allocations: 1.46 MB / 0.9677 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.6312, allocations: 55.84 kB / 0.9678 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.6317, allocations: 0.5383 MB / 0.9683 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.6318, allocations: 37.7 kB / 0.9684 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.632, allocations: 329.1 kB / 0.9687 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.6321, allocations: 182.4 kB / 0.9688 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.6323, allocations: 94.2 kB / 0.9689 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6324, allocations: 374.7 kB / 0.9693 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.6327, allocations: 173 kB / 0.9695 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.633, allocations: 260.8 kB / 0.9697 GB, free: 1.934 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.003163/0.6362, allocations: 1.45 MB / 0.9711 GB, free: 444 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6362, allocations: 4 kB / 0.9711 GB, free: 440 kB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008213/0.6371, allocations: 0.5269 MB / 0.9716 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6371, allocations: 4 kB / 0.9716 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6371, allocations: 0 / 0.9716 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6371, allocations: 4 kB / 0.9717 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.6375, allocations: 99.83 kB / 0.9717 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.6375, allocations: 8.156 kB / 0.9718 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.6381, allocations: 23.92 kB / 0.9718 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.6382, allocations: 19.94 kB / 0.9718 GB, free: 15.73 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.0002861/0.6385, allocations: 242.4 kB / 0.972 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6386, allocations: 71.58 kB / 0.9721 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.6387, allocations: 78.45 kB / 0.9722 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6387, allocations: 4 kB / 0.9722 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6388, allocations: 4 kB / 0.9722 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006703/0.6394, allocations: 0.5144 MB / 0.9727 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.6417, allocations: 1.582 MB / 0.9742 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.6417, allocations: 4 kB / 0.9742 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000515/0.6422, allocations: 111.9 kB / 0.9743 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.6422, allocations: 8 kB / 0.9743 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.6423, allocations: 16 kB / 0.9744 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.6423, allocations: 15.92 kB / 0.9744 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.6423, allocations: 9.5 kB / 0.9744 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.6434, allocations: 0.9066 MB / 0.9753 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.6437, allocations: 196.7 kB / 0.9755 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.6438, allocations: 16 kB / 0.9755 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.6443, allocations: 26.02 kB / 0.9755 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.6444, allocations: 47.77 kB / 0.9755 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.6445, allocations: 24 kB / 0.9756 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004094/0.6449, allocations: 398.8 kB / 0.9759 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6449, allocations: 0 / 0.9759 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006134/0.6455, allocations: 207.9 kB / 0.9761 GB, free: 11.04 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.001637/0.6471, allocations: 1.535 MB / 0.9776 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007158/0.6479, allocations: 445.2 kB / 0.9781 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6479, allocations: 3.938 kB / 0.9781 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.6482, allocations: 241.1 kB / 0.9783 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.6502, allocations: 494.3 kB / 0.9788 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006434/0.6567, allocations: 5.487 MB / 0.9841 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.6572, allocations: 0.981 MB / 0.9851 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005059/0.6577, allocations: 165.8 kB / 0.9852 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.658, allocations: 247.4 kB / 0.9855 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.658, allocations: 0 / 0.9855 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/0.6985, allocations: 20.38 MB / 1.005 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.611, allocations: 13.33 kB / 1.005 GB, free: 13.15 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)