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.001068/0.001068, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00117/0.00117, allocations: 196.4 kB / 16.25 MB, free: 6.621 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.9322/0.9322, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 0.5138 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1369, allocations: 82.04 MB / 0.5939 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3945/0.5315, allocations: 188 MB / 0.7775 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008697/0.5402, allocations: 5.679 MB / 0.7831 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.5413, allocations: 43.75 kB / 0.7831 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.5426, allocations: 0.5052 MB / 0.7836 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.5465, allocations: 1.712 MB / 0.7853 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.5492, allocations: 1.09 MB / 0.7864 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003289/0.5525, allocations: 2.96 MB / 0.7892 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.5538, allocations: 1.084 MB / 0.7903 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.5555, allocations: 1.062 MB / 0.7913 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.5573, allocations: 1.031 MB / 0.7923 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.5575, allocations: 124 kB / 0.7925 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.5601, allocations: 1.516 MB / 0.7939 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005239/0.5607, allocations: 0.5767 MB / 0.7945 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007337/0.5614, allocations: 0.7197 MB / 0.7952 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.5641, allocations: 2.496 MB / 0.7976 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5641, allocations: 0 / 0.7976 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.757e-06/0.5642, allocations: 7.984 kB / 0.7977 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.5642, allocations: 4 kB / 0.7977 GB, free: 12.79 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.002377/0.5666, allocations: 1.62 MB / 0.7992 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5666, allocations: 15.97 kB / 0.7993 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.5668, allocations: 152.2 kB / 0.7994 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.5688, allocations: 334.2 kB / 0.7997 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.5701, allocations: 0.863 MB / 0.8006 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.5702, allocations: 74 kB / 0.8006 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.5703, allocations: 100 kB / 0.8007 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.5721, allocations: 1.089 MB / 0.8018 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.5722, allocations: 3.938 kB / 0.8018 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.5723, allocations: 47.94 kB / 0.8018 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.5723, allocations: 38 kB / 0.8019 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.5739, allocations: 0.9915 MB / 0.8028 GB, free: 7.367 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.005564/0.5795, allocations: 4.237 MB / 0.807 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000864/0.5803, allocations: 0.5975 MB / 0.8076 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.5808, allocations: 350.4 kB / 0.8079 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.581, allocations: 105.5 kB / 0.808 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.5811, allocations: 47 kB / 0.808 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 3.486e-06/0.5811, allocations: 0 / 0.808 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.003899/0.585, allocations: 2.197 MB / 0.8102 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.585, allocations: 59.91 kB / 0.8102 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.586, allocations: 0.8882 MB / 0.8111 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.5861, allocations: 37.7 kB / 0.8112 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.5864, allocations: 0.5184 MB / 0.8117 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.5866, allocations: 193.2 kB / 0.8118 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.5868, allocations: 130.6 kB / 0.812 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5869, allocations: 334 kB / 0.8123 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.5874, allocations: 281.8 kB / 0.8126 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.5879, allocations: 438.1 kB / 0.813 GB, free: 12.45 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.003922/0.5919, allocations: 1.757 MB / 0.8147 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5919, allocations: 3.938 kB / 0.8147 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001438/0.5933, allocations: 0.9235 MB / 0.8156 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5934, allocations: 8 kB / 0.8156 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5934, allocations: 4.5 kB / 0.8156 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.5936, allocations: 102.5 kB / 0.8157 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.5943, allocations: 163.8 kB / 0.8159 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.5975, allocations: 4.63 MB / 0.8204 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009191/0.5985, allocations: 75.86 kB / 0.8205 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.5985, allocations: 28 kB / 0.8205 GB, free: 4.254 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.0004773/0.599, allocations: 349.5 kB / 0.8208 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.5992, allocations: 98.88 kB / 0.8209 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.5993, allocations: 113.1 kB / 0.821 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5993, allocations: 8 kB / 0.821 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5994, allocations: 0 / 0.821 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/0.6004, allocations: 0.7614 MB / 0.8218 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.6032, allocations: 1.984 MB / 0.8237 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6032, allocations: 4 kB / 0.8237 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.6039, allocations: 143.8 kB / 0.8238 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.302e-05/0.6039, allocations: 41.66 kB / 0.8239 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.604, allocations: 19.98 kB / 0.8239 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.6051, allocations: 1.608 MB / 0.8255 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6051, allocations: 4.062 kB / 0.8255 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.6067, allocations: 1.222 MB / 0.8267 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.607, allocations: 251.9 kB / 0.8269 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.6071, allocations: 15.98 kB / 0.8269 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000801/0.608, allocations: 70.78 kB / 0.827 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.6081, allocations: 47.83 kB / 0.827 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/0.6081, allocations: 31.97 kB / 0.8271 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006966/0.6088, allocations: 0.62 MB / 0.8277 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6089, allocations: 3.938 kB / 0.8277 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000857/0.6097, allocations: 300 kB / 0.828 GB, free: 12.21 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.002115/0.6118, allocations: 1.857 MB / 0.8298 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.6134, allocations: 1.108 MB / 0.8309 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.6134, allocations: 4 kB / 0.8309 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.614, allocations: 451.5 kB / 0.8313 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.6166, allocations: 0.6531 MB / 0.8319 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.6274, allocations: 8.664 MB / 0.8404 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.6281, allocations: 1.177 MB / 0.8415 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000902/0.629, allocations: 252.4 kB / 0.8418 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/0.6295, allocations: 383.3 kB / 0.8422 GB, free: 13.2 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.6295, allocations: 0 / 0.8422 GB, free: 13.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6911/1.321, allocations: 29.99 MB / 0.8714 GB, free: 204.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/1.321, allocations: 325 kB / 0.8717 GB, free: 204.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.725, allocations: 2.109 kB / 0.8718 GB, free: 204.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)