Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001641/0.001641, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9659/0.9659, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4089/0.5524, allocations: 190.6 MB / 0.7805 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009422/0.5619, allocations: 5.709 MB / 0.7861 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.5632, allocations: 39.75 kB / 0.7861 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.5648, allocations: 0.5669 MB / 0.7866 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004309/0.5691, allocations: 1.839 MB / 0.7884 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.5722, allocations: 1.16 MB / 0.7896 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003382/0.5756, allocations: 2.949 MB / 0.7925 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.5776, allocations: 1.13 MB / 0.7936 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.5797, allocations: 1.047 MB / 0.7946 GB, free: 152 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.5817, allocations: 0.9692 MB / 0.7955 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00039/0.5821, allocations: 120 kB / 0.7956 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.585, allocations: 1.442 MB / 0.7971 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006561/0.5857, allocations: 0.569 MB / 0.7976 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.5868, allocations: 0.7272 MB / 0.7983 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.5898, allocations: 2.399 MB / 0.8007 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5898, allocations: 0 / 0.8007 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5898, allocations: 4 kB / 0.8007 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.579e-05/0.5898, allocations: 0 / 0.8007 GB, free: 9.91 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002672/0.5925, allocations: 1.624 MB / 0.8022 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.5926, allocations: 8.031 kB / 0.8023 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.5928, allocations: 163.3 kB / 0.8024 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/0.5949, allocations: 326.2 kB / 0.8027 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.5962, allocations: 0.8707 MB / 0.8036 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.5963, allocations: 74 kB / 0.8036 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.5964, allocations: 104 kB / 0.8037 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.5981, allocations: 1.081 MB / 0.8048 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.5982, allocations: 4 kB / 0.8048 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.5983, allocations: 43.98 kB / 0.8048 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.5983, allocations: 42 kB / 0.8049 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.6, allocations: 0.9876 MB / 0.8058 GB, free: 4.492 MB / 0.6231 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.005863/0.6059, allocations: 4.272 MB / 0.81 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/0.6068, allocations: 0.5913 MB / 0.8106 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.6073, allocations: 348.3 kB / 0.8109 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.6075, allocations: 105.5 kB / 0.811 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.6076, allocations: 50.94 kB / 0.8111 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.264e-06/0.6076, allocations: 0 / 0.8111 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.004112/0.6117, allocations: 2.197 MB / 0.8132 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.6118, allocations: 59.91 kB / 0.8133 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.6129, allocations: 0.8804 MB / 0.8141 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.6129, allocations: 45.64 kB / 0.8142 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.6133, allocations: 0.5184 MB / 0.8147 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.6135, allocations: 197.2 kB / 0.8149 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.6137, allocations: 126.6 kB / 0.815 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6138, allocations: 334 kB / 0.8153 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.6143, allocations: 289.8 kB / 0.8156 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.6149, allocations: 433 kB / 0.816 GB, free: 9.543 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/0.6189, allocations: 1.745 MB / 0.8177 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.619, allocations: 0 / 0.8177 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001506/0.6205, allocations: 0.9258 MB / 0.8186 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6205, allocations: 8 kB / 0.8186 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6205, allocations: 4 kB / 0.8186 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.6207, allocations: 106.9 kB / 0.8187 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/0.6215, allocations: 163.7 kB / 0.8189 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.6248, allocations: 4.626 MB / 0.8234 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/0.6257, allocations: 35.95 kB / 0.8234 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.6257, allocations: 32 kB / 0.8235 GB, free: 1.395 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004671/0.6262, allocations: 349.6 kB / 0.8238 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.6264, allocations: 102.8 kB / 0.8239 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.6266, allocations: 109.2 kB / 0.824 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6266, allocations: 8 kB / 0.824 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6266, allocations: 0 / 0.824 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/0.6277, allocations: 0.7652 MB / 0.8248 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.6307, allocations: 1.984 MB / 0.8267 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.6307, allocations: 9.75 kB / 0.8267 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006892/0.6314, allocations: 147.8 kB / 0.8268 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.008e-05/0.6315, allocations: 40.77 kB / 0.8269 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.6315, allocations: 16 kB / 0.8269 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.6327, allocations: 1.609 MB / 0.8285 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.6327, allocations: 11.88 kB / 0.8285 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.6344, allocations: 1.214 MB / 0.8297 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.6348, allocations: 259.9 kB / 0.8299 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6349, allocations: 12 kB / 0.8299 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.6357, allocations: 35.03 kB / 0.83 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.6358, allocations: 43.83 kB / 0.83 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.6358, allocations: 39.97 kB / 0.83 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007374/0.6366, allocations: 0.6122 MB / 0.8306 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6366, allocations: 0 / 0.8306 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008576/0.6375, allocations: 304 kB / 0.8309 GB, free: 9.375 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002296/0.6398, allocations: 1.844 MB / 0.8327 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.6414, allocations: 1.112 MB / 0.8338 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.6415, allocations: 7.906 kB / 0.8338 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006046/0.6421, allocations: 442.3 kB / 0.8342 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/0.6449, allocations: 0.6551 MB / 0.8349 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.6555, allocations: 8.296 MB / 0.843 GB, free: 12.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/0.6563, allocations: 1.165 MB / 0.8441 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009307/0.6572, allocations: 260.4 kB / 0.8444 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.6578, allocations: 383.3 kB / 0.8447 GB, free: 10.75 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/0.6578, allocations: 0 / 0.8447 GB, free: 10.75 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2671/0.9249, allocations: 30.27 MB / 0.8743 GB, free: 206.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.1, allocations: 19.47 kB / 0.8743 GB, free: 206.7 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)