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.00469/0.00469, allocations: 99.98 kB / 15.73 MB, free: 6.016 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.001234/0.001234, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002453/0.002452, allocations: 287.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9459/0.9459, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 99.84 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3962, allocations: 86.97 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1962/0.5924, allocations: 181.9 MB / 0.9435 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008366/0.6008, allocations: 5.366 MB / 0.9487 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009272/0.6018, allocations: 35.81 kB / 0.9488 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.6028, allocations: 437.3 kB / 0.9492 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003718/0.6066, allocations: 1.68 MB / 0.9508 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.6084, allocations: 0.81 MB / 0.9516 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002491/0.6109, allocations: 2.188 MB / 0.9538 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009218/0.6118, allocations: 0.6867 MB / 0.9544 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009995/0.6128, allocations: 0.7354 MB / 0.9552 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.6143, allocations: 0.6964 MB / 0.9558 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.6144, allocations: 76 kB / 0.9559 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.359/0.9734, allocations: 1.392 MB / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.9739, allocations: 315.7 kB / 0.9576 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000714/0.9746, allocations: 471.4 kB / 0.958 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.9775, allocations: 1.677 MB / 0.9597 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9775, allocations: 1.203 kB / 0.9597 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9775, allocations: 0 / 0.9597 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.9775, allocations: 0 / 0.9597 GB, free: 5.094 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.001617/0.9792, allocations: 1.209 MB / 0.9608 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.9792, allocations: 10.22 kB / 0.9608 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.9793, allocations: 101.8 kB / 0.9609 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.981, allocations: 279.2 kB / 0.9612 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009847/0.982, allocations: 0.7142 MB / 0.9619 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.9821, allocations: 44.25 kB / 0.962 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.9821, allocations: 60.56 kB / 0.962 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/0.9831, allocations: 0.5799 MB / 0.9626 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.9831, allocations: 1.031 kB / 0.9626 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.9832, allocations: 25.72 kB / 0.9626 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.9832, allocations: 26 kB / 0.9626 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.984, allocations: 0.5006 MB / 0.9631 GB, free: 3.957 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.002657/0.9867, allocations: 2.384 MB / 0.9654 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.9874, allocations: 433.4 kB / 0.9659 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.9877, allocations: 220.3 kB / 0.9661 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.9879, allocations: 97.16 kB / 0.9662 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.9879, allocations: 39.39 kB / 0.9662 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.9879, allocations: 0 / 0.9662 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.002455/0.9904, allocations: 1.457 MB / 0.9676 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.9904, allocations: 58.56 kB / 0.9677 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.991, allocations: 0.5353 MB / 0.9682 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.9911, allocations: 37.61 kB / 0.9682 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.9913, allocations: 333.2 kB / 0.9686 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.9914, allocations: 180.2 kB / 0.9687 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.9915, allocations: 88.42 kB / 0.9688 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.9917, allocations: 371.4 kB / 0.9692 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.9919, allocations: 178.8 kB / 0.9693 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.9922, allocations: 260.8 kB / 0.9696 GB, free: 17.42 MB / 0.7325 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.002856/0.9951, allocations: 1.447 MB / 0.971 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9951, allocations: 1.188 kB / 0.971 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007107/0.9958, allocations: 0.5303 MB / 0.9715 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.9959, allocations: 10.77 kB / 0.9715 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.9959, allocations: 0 / 0.9715 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.9959, allocations: 6.031 kB / 0.9715 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.9963, allocations: 97.2 kB / 0.9716 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.9963, allocations: 2.938 kB / 0.9716 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.9968, allocations: 17.47 kB / 0.9716 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.9969, allocations: 14.69 kB / 0.9717 GB, free: 17.08 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.0002918/0.9972, allocations: 254.1 kB / 0.9719 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.9973, allocations: 76.27 kB / 0.972 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.9974, allocations: 78 kB / 0.972 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.9974, allocations: 6.031 kB / 0.9721 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.9974, allocations: 1.203 kB / 0.9721 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006009/0.998, allocations: 0.5153 MB / 0.9726 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/1, allocations: 1.579 MB / 0.9741 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1, allocations: 9.25 kB / 0.9741 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/1, allocations: 114.9 kB / 0.9742 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1, allocations: 8 kB / 0.9742 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/1, allocations: 17.98 kB / 0.9742 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.001, allocations: 12.59 kB / 0.9743 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.001, allocations: 8.469 kB / 0.9743 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009684/1.001, allocations: 0.8986 MB / 0.9751 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/1.002, allocations: 206 kB / 0.9753 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/1.002, allocations: 18.34 kB / 0.9754 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/1.002, allocations: 23.11 kB / 0.9754 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/1.002, allocations: 46.78 kB / 0.9754 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/1.002, allocations: 20.06 kB / 0.9754 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003747/1.003, allocations: 399.6 kB / 0.9758 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.92e-07/1.003, allocations: 0 / 0.9758 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005977/1.003, allocations: 197.4 kB / 0.976 GB, free: 15.71 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.001539/1.005, allocations: 1.539 MB / 0.9775 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006639/1.006, allocations: 442.2 kB / 0.9779 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.006, allocations: 0 / 0.9779 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002911/1.006, allocations: 237.4 kB / 0.9782 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.008, allocations: 496.1 kB / 0.9786 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/1.014, allocations: 5.51 MB / 0.984 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/1.014, allocations: 0.9741 MB / 0.985 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005181/1.015, allocations: 166.4 kB / 0.9851 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/1.015, allocations: 246.7 kB / 0.9854 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/1.015, allocations: 0.9688 kB / 0.9854 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0418/1.057, allocations: 20.38 MB / 1.005 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/9.387, allocations: 4.156 kB / 1.005 GB, free: 10.39 MB / 0.7325 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)