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.00464/0.00464, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001136/0.001136, allocations: 201.9 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.9564/0.9564, allocations: 143 MB / 433.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.89 kB / 0.5951 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3517, allocations: 82.03 MB / 0.6752 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1838/0.5356, allocations: 190.6 MB / 0.8613 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009155/0.5448, allocations: 5.717 MB / 0.8669 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.546, allocations: 39.75 kB / 0.8669 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.5478, allocations: 0.5903 MB / 0.8675 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.3513/0.8991, allocations: 1.898 MB / 0.8693 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.902, allocations: 1.192 MB / 0.8705 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003886/0.9059, allocations: 2.952 MB / 0.8734 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.9077, allocations: 1.132 MB / 0.8745 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.9098, allocations: 1.103 MB / 0.8756 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.9121, allocations: 0.9551 MB / 0.8765 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.9123, allocations: 122.3 kB / 0.8766 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.9154, allocations: 1.458 MB / 0.878 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007589/0.9162, allocations: 0.5677 MB / 0.8786 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.918, allocations: 0.7207 MB / 0.8793 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.9214, allocations: 2.43 MB / 0.8817 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9214, allocations: 1.203 kB / 0.8817 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9214, allocations: 0.7812 kB / 0.8817 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.512e-05/0.9214, allocations: 0.9688 kB / 0.8817 GB, free: 2.445 MB / 0.6856 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.002645/0.9241, allocations: 1.662 MB / 0.8833 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.9241, allocations: 9.844 kB / 0.8833 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.9243, allocations: 156.9 kB / 0.8835 GB, free: 17.55 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.9264, allocations: 336.2 kB / 0.8838 GB, free: 17.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.9279, allocations: 0.9214 MB / 0.8847 GB, free: 17.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.9279, allocations: 73.56 kB / 0.8848 GB, free: 17.15 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.9281, allocations: 98.14 kB / 0.8848 GB, free: 17.15 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.9299, allocations: 1.081 MB / 0.8859 GB, free: 17.09 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.9299, allocations: 3.953 kB / 0.8859 GB, free: 17.09 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.893e-05/0.93, allocations: 46.8 kB / 0.8859 GB, free: 17.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/0.9301, allocations: 42.67 kB / 0.886 GB, free: 17.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.9316, allocations: 0.9911 MB / 0.887 GB, free: 17.08 MB / 0.7012 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.005324/0.937, allocations: 4.232 MB / 0.8911 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.9377, allocations: 0.5979 MB / 0.8917 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.9382, allocations: 349.9 kB / 0.892 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.9383, allocations: 105.9 kB / 0.8921 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.9384, allocations: 46.94 kB / 0.8922 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 1.834e-06/0.9384, allocations: 0 / 0.8922 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55): time 0.003433/0.9418, allocations: 2.214 MB / 0.8943 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.9419, allocations: 59.53 kB / 0.8944 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008213/0.9427, allocations: 0.8813 MB / 0.8952 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.9428, allocations: 43.55 kB / 0.8953 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.943, allocations: 0.5213 MB / 0.8958 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.9432, allocations: 208.1 kB / 0.896 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.9433, allocations: 136.3 kB / 0.8961 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.9434, allocations: 334 kB / 0.8964 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.9439, allocations: 286.5 kB / 0.8967 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.9444, allocations: 433.5 kB / 0.8971 GB, free: 13.3 MB / 0.7012 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.003392/0.9478, allocations: 1.749 MB / 0.8988 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9478, allocations: 0.8438 kB / 0.8988 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00123/0.949, allocations: 0.928 MB / 0.8997 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.949, allocations: 13.98 kB / 0.8997 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.949, allocations: 2.156 kB / 0.8997 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.9492, allocations: 96.36 kB / 0.8998 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/0.9499, allocations: 167.7 kB / 0.9 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/0.953, allocations: 4.633 MB / 0.9045 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008456/0.9538, allocations: 30.2 kB / 0.9046 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.9539, allocations: 33.62 kB / 0.9046 GB, free: 8.863 MB / 0.7012 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.0004208/0.9543, allocations: 340.7 kB / 0.9049 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.9545, allocations: 108.8 kB / 0.905 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.9547, allocations: 108.7 kB / 0.9051 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.9547, allocations: 6.188 kB / 0.9051 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9547, allocations: 2.125 kB / 0.9051 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009274/0.9556, allocations: 0.7689 MB / 0.9059 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.9583, allocations: 1.991 MB / 0.9078 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9583, allocations: 4.469 kB / 0.9078 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/0.9589, allocations: 144.9 kB / 0.908 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-05/0.959, allocations: 45.5 kB / 0.908 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.9591, allocations: 14.44 kB / 0.908 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.9601, allocations: 1.605 MB / 0.9096 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9602, allocations: 5.25 kB / 0.9096 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.9616, allocations: 1.214 MB / 0.9108 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.962, allocations: 266.8 kB / 0.911 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.9621, allocations: 17.34 kB / 0.911 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.9629, allocations: 31.36 kB / 0.9111 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.963, allocations: 55.27 kB / 0.9111 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.963, allocations: 31.5 kB / 0.9112 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006206/0.9637, allocations: 0.6157 MB / 0.9118 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9637, allocations: 1.203 kB / 0.9118 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008301/0.9645, allocations: 301.8 kB / 0.9121 GB, free: 6.047 MB / 0.7012 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.00196/0.9665, allocations: 1.856 MB / 0.9139 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.9678, allocations: 1.009 MB / 0.9148 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.9678, allocations: 3.25 kB / 0.9149 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.9683, allocations: 450.5 kB / 0.9153 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.9709, allocations: 0.6429 MB / 0.9159 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009422/0.9803, allocations: 7.972 MB / 0.9237 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008247/0.9812, allocations: 1.168 MB / 0.9248 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009468/0.9821, allocations: 245.1 kB / 0.9251 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006484/0.9828, allocations: 385.6 kB / 0.9254 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of SimCode: time 2.445e-06/0.9828, allocations: 0 / 0.9254 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05673/1.04, allocations: 30.53 MB / 0.9553 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.24, allocations: 5.156 kB / 0.9553 GB, free: 15.27 MB / 0.7325 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)