Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_Buildings_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.001447/0.001447, allocations: 109.4 kB / 15.69 MB, free: 128 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.001185/0.001185, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 64.05 kB / 0.6718 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.21, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5982/0.8083, allocations: 190.4 MB / 0.9696 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008772/0.8171, allocations: 5.65 MB / 0.9751 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.8185, allocations: 36.22 kB / 0.9751 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.82, allocations: 0.5692 MB / 0.9757 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.8244, allocations: 1.821 MB / 0.9775 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.8272, allocations: 1.162 MB / 0.9786 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003562/0.8308, allocations: 2.941 MB / 0.9815 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.8321, allocations: 1.12 MB / 0.9826 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.8337, allocations: 1.047 MB / 0.9836 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.8352, allocations: 0.974 MB / 0.9846 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.8354, allocations: 127.6 kB / 0.9847 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.8381, allocations: 1.443 MB / 0.9861 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005087/0.8387, allocations: 0.5611 MB / 0.9866 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000728/0.8394, allocations: 0.7182 MB / 0.9873 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.8422, allocations: 2.325 MB / 0.9896 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8422, allocations: 3.984 kB / 0.9896 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8422, allocations: 2.719 kB / 0.9896 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.8422, allocations: 4 kB / 0.9896 GB, free: 9.027 MB / 0.7325 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.002333/0.8446, allocations: 1.614 MB / 0.9912 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.8446, allocations: 10.84 kB / 0.9912 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.8448, allocations: 160.2 kB / 0.9914 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.8467, allocations: 323 kB / 0.9917 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.848, allocations: 0.9027 MB / 0.9925 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.848, allocations: 70.31 kB / 0.9926 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.8482, allocations: 101.4 kB / 0.9927 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.8498, allocations: 1.082 MB / 0.9938 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.8498, allocations: 0 / 0.9938 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.8499, allocations: 50.58 kB / 0.9938 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.85, allocations: 34.28 kB / 0.9938 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.8514, allocations: 0.9889 MB / 0.9948 GB, free: 5.723 MB / 0.7325 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.005301/0.8567, allocations: 4.211 MB / 0.9989 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.8576, allocations: 0.5917 MB / 0.9995 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.8581, allocations: 345.4 kB / 0.9998 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.8583, allocations: 107.2 kB / 0.9999 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.8584, allocations: 42.38 kB / 1 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/0.8584, allocations: 0 / 1 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003746/0.8621, allocations: 2.197 MB / 1.002 GB, free: 292 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.8622, allocations: 63.31 kB / 1.002 GB, free: 224 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.8632, allocations: 0.8782 MB / 1.003 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.8633, allocations: 38.61 kB / 1.003 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.8636, allocations: 0.5094 MB / 1.004 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.8638, allocations: 200.2 kB / 1.004 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.8641, allocations: 128.3 kB / 1.004 GB, free: 15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8642, allocations: 333 kB / 1.004 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.8647, allocations: 285.4 kB / 1.004 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.8653, allocations: 443.7 kB / 1.005 GB, free: 14.21 MB / 0.7481 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.003717/0.869, allocations: 1.743 MB / 1.007 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.869, allocations: 0 / 1.007 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002199/0.8712, allocations: 0.9224 MB / 1.008 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.8713, allocations: 11.25 kB / 1.008 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.8713, allocations: 6.719 kB / 1.008 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/0.8716, allocations: 103.8 kB / 1.008 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.8726, allocations: 167.3 kB / 1.008 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005373/0.878, allocations: 4.639 MB / 1.012 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.8797, allocations: 34.95 kB / 1.012 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.761e-05/0.8798, allocations: 28.02 kB / 1.012 GB, free: 7.996 MB / 0.7481 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.0009184/0.8808, allocations: 340.8 kB / 1.013 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.8811, allocations: 101 kB / 1.013 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.8814, allocations: 109.6 kB / 1.013 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.8814, allocations: 4.656 kB / 1.013 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.8815, allocations: 8 kB / 1.013 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001627/0.8831, allocations: 0.7665 MB / 1.014 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004769/0.8879, allocations: 1.99 MB / 1.016 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.8879, allocations: 5.75 kB / 1.016 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.8891, allocations: 143.3 kB / 1.016 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.8893, allocations: 43.17 kB / 1.016 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.8894, allocations: 15.27 kB / 1.016 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.8915, allocations: 1.607 MB / 1.017 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/0.8915, allocations: 8.75 kB / 1.017 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.8947, allocations: 1.226 MB / 1.019 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/0.8954, allocations: 259.2 kB / 1.019 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.8956, allocations: 14.88 kB / 1.019 GB, free: 3.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.8969, allocations: 35.34 kB / 1.019 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.8971, allocations: 47.58 kB / 1.019 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.8972, allocations: 28.42 kB / 1.019 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001479/0.8987, allocations: 0.6123 MB / 1.02 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.11e-07/0.8987, allocations: 0 / 1.02 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001538/0.9003, allocations: 303.2 kB / 1.02 GB, free: 2.676 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.004206/0.9045, allocations: 1.866 MB / 1.022 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002603/0.9071, allocations: 1.01 MB / 1.023 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.9071, allocations: 2.438 kB / 1.023 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.9082, allocations: 446.4 kB / 1.023 GB, free: 400 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005349/0.9136, allocations: 0.6462 MB / 1.024 GB, free: 60 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.9307, allocations: 7.893 MB / 1.031 GB, free: 9.316 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009711/0.9317, allocations: 1.174 MB / 1.033 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001016/0.9328, allocations: 248.3 kB / 1.033 GB, free: 7.867 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/0.9335, allocations: 379.3 kB / 1.033 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of SimCode: time 8.01e-07/0.9335, allocations: 0 / 1.033 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06111/0.9946, allocations: 30.25 MB / 1.063 GB, free: 9.781 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.5, allocations: 14.25 kB / 1.063 GB, free: 9.77 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)