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: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001063, allocations: 109.5 kB / 15.99 MB, free: 6.344 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.001037/0.001037, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.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.8305/0.8305, allocations: 143 MB / 433.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.5143 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4228, allocations: 82.03 MB / 0.5944 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5841/1.007, allocations: 188.1 MB / 0.7781 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009872/1.017, allocations: 5.678 MB / 0.7836 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/1.019, allocations: 36.44 kB / 0.7837 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/1.021, allocations: 0.5008 MB / 0.7842 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004866/1.025, allocations: 1.733 MB / 0.7858 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00311/1.029, allocations: 1.085 MB / 0.7869 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004457/1.033, allocations: 2.942 MB / 0.7898 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/1.035, allocations: 1.096 MB / 0.7908 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/1.038, allocations: 1.06 MB / 0.7919 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/1.04, allocations: 1.031 MB / 0.7929 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002956/1.041, allocations: 125.7 kB / 0.793 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003775/1.044, allocations: 1.516 MB / 0.7945 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007635/1.045, allocations: 0.5697 MB / 0.795 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/1.046, allocations: 0.731 MB / 0.7958 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002709/1.049, allocations: 1.854 MB / 0.7976 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.049, allocations: 0 / 0.7976 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/1.049, allocations: 1 kB / 0.7976 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.859e-05/1.049, allocations: 3.594 kB / 0.7976 GB, free: 0.9727 MB / 0.5762 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.002958/1.052, allocations: 1.626 MB / 0.7992 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.052, allocations: 8.906 kB / 0.7992 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/1.054, allocations: 330.2 kB / 0.7995 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/1.056, allocations: 0.8766 MB / 0.8003 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/1.056, allocations: 69.25 kB / 0.8004 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/1.056, allocations: 102 kB / 0.8005 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.058, allocations: 1.086 MB / 0.8016 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.058, allocations: 0.9375 kB / 0.8016 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/1.058, allocations: 42.41 kB / 0.8016 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/1.058, allocations: 40.5 kB / 0.8016 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/1.059, allocations: 0.9916 MB / 0.8026 GB, free: 15.69 MB / 0.5919 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.006418/1.066, allocations: 4.246 MB / 0.8068 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/1.067, allocations: 0.5986 MB / 0.8073 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/1.067, allocations: 345.2 kB / 0.8077 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/1.067, allocations: 107.7 kB / 0.8078 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.067, allocations: 48.56 kB / 0.8078 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.384e-06/1.068, allocations: 0 / 0.8078 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004418/1.072, allocations: 2.199 MB / 0.81 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/1.072, allocations: 58.44 kB / 0.81 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/1.073, allocations: 0.8854 MB / 0.8109 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/1.073, allocations: 35.7 kB / 0.8109 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/1.073, allocations: 0.5206 MB / 0.8114 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/1.074, allocations: 190.5 kB / 0.8116 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/1.074, allocations: 133.1 kB / 0.8117 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.074, allocations: 330.7 kB / 0.8121 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/1.074, allocations: 285.6 kB / 0.8123 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/1.075, allocations: 436 kB / 0.8127 GB, free: 11.92 MB / 0.5919 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.003664/1.079, allocations: 1.749 MB / 0.8145 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/1.079, allocations: 0.875 kB / 0.8145 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001584/1.08, allocations: 0.9299 MB / 0.8154 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.08, allocations: 5.734 kB / 0.8154 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.08, allocations: 7.719 kB / 0.8154 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/1.081, allocations: 92.22 kB / 0.8155 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/1.081, allocations: 167.1 kB / 0.8156 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/1.085, allocations: 4.636 MB / 0.8202 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.086, allocations: 66.92 kB / 0.8202 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/1.086, allocations: 28.11 kB / 0.8202 GB, free: 7 MB / 0.5919 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.0006597/1.087, allocations: 343.5 kB / 0.8206 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/1.087, allocations: 103.2 kB / 0.8207 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/1.087, allocations: 108.8 kB / 0.8208 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.087, allocations: 8.781 kB / 0.8208 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.087, allocations: 10.12 kB / 0.8208 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/1.088, allocations: 0.7706 MB / 0.8215 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/1.091, allocations: 1.981 MB / 0.8235 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.091, allocations: 5.781 kB / 0.8235 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006552/1.092, allocations: 144.3 kB / 0.8236 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/1.092, allocations: 38.7 kB / 0.8237 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/1.092, allocations: 17.28 kB / 0.8237 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/1.094, allocations: 1.612 MB / 0.8252 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.094, allocations: 8.188 kB / 0.8253 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.095, allocations: 1.213 MB / 0.8264 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/1.096, allocations: 253.2 kB / 0.8267 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.096, allocations: 17.69 kB / 0.8267 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/1.097, allocations: 70.8 kB / 0.8268 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.097, allocations: 48.52 kB / 0.8268 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.279e-05/1.097, allocations: 30.64 kB / 0.8268 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009276/1.098, allocations: 0.6187 MB / 0.8274 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/1.098, allocations: 0 / 0.8274 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001157/1.099, allocations: 309.5 kB / 0.8277 GB, free: 2.602 MB / 0.5919 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.0005001/1.1, allocations: 207.8 kB / 0.8279 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001777/1.102, allocations: 1.111 MB / 0.829 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.102, allocations: 2.406 kB / 0.829 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000625/1.102, allocations: 453 kB / 0.8295 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/1.105, allocations: 0.6445 MB / 0.8301 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/1.109, allocations: 2.602 MB / 0.8326 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/1.109, allocations: 1.17 MB / 0.8338 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/1.11, allocations: 79.42 kB / 0.8338 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/1.11, allocations: 0 / 0.8338 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of Templates: time 0.03658/1.146, allocations: 26.95 MB / 0.8602 GB, free: 3.371 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)