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.001561/0.001561, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002001/0.002001, allocations: 196.7 kB / 16.14 MB, free: 6.695 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.9888/0.9888, allocations: 143 MB / 433 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.84 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1584, allocations: 82.04 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5186/0.677, allocations: 188.3 MB / 0.7775 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009473/0.6865, allocations: 5.777 MB / 0.7831 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.6878, allocations: 31.81 kB / 0.7831 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.6892, allocations: 0.4896 MB / 0.7836 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.6933, allocations: 1.739 MB / 0.7853 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.6959, allocations: 1.07 MB / 0.7864 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003981/0.6999, allocations: 4.088 MB / 0.7904 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.7012, allocations: 0.9651 MB / 0.7913 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.7027, allocations: 0.8985 MB / 0.7922 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.7046, allocations: 1.001 MB / 0.7932 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.7048, allocations: 60 kB / 0.7932 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.7078, allocations: 1.636 MB / 0.7948 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005278/0.7083, allocations: 0.5103 MB / 0.7953 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007452/0.7091, allocations: 0.6648 MB / 0.796 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00305/0.7121, allocations: 2.438 MB / 0.7983 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7122, allocations: 0 / 0.7983 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.02e-07/0.7122, allocations: 4 kB / 0.7983 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.7122, allocations: 0 / 0.7983 GB, free: 12.1 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.002425/0.7146, allocations: 1.62 MB / 0.7999 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.7147, allocations: 12.03 kB / 0.7999 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.7166, allocations: 330.2 kB / 0.8002 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.7179, allocations: 0.8707 MB / 0.8011 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.718, allocations: 70.88 kB / 0.8012 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.7182, allocations: 96 kB / 0.8013 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.72, allocations: 1.093 MB / 0.8023 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.72, allocations: 0 / 0.8023 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.7201, allocations: 44 kB / 0.8024 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/0.7202, allocations: 41.98 kB / 0.8024 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.7219, allocations: 0.9954 MB / 0.8034 GB, free: 6.84 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.006423/0.7283, allocations: 4.243 MB / 0.8075 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008977/0.7293, allocations: 0.5913 MB / 0.8081 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.7298, allocations: 351 kB / 0.8084 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.73, allocations: 109.5 kB / 0.8085 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.73, allocations: 48.48 kB / 0.8086 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/0.7301, allocations: 0 / 0.8086 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.004156/0.7342, allocations: 2.197 MB / 0.8107 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.7343, allocations: 59.91 kB / 0.8108 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.7354, allocations: 0.8882 MB / 0.8117 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.7354, allocations: 37.7 kB / 0.8117 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.7358, allocations: 0.5107 MB / 0.8122 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.736, allocations: 197.2 kB / 0.8124 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.7362, allocations: 130.6 kB / 0.8125 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7363, allocations: 330 kB / 0.8128 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.7368, allocations: 289.8 kB / 0.8131 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.7374, allocations: 438.8 kB / 0.8135 GB, free: 11.92 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.003901/0.7413, allocations: 1.737 MB / 0.8152 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7413, allocations: 3.938 kB / 0.8152 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001547/0.7429, allocations: 0.9296 MB / 0.8161 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7429, allocations: 8 kB / 0.8161 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7429, allocations: 4.625 kB / 0.8161 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.7431, allocations: 102.9 kB / 0.8162 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.7439, allocations: 163.8 kB / 0.8164 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.7472, allocations: 4.287 MB / 0.8206 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/0.7482, allocations: 63.95 kB / 0.8206 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.7482, allocations: 31.94 kB / 0.8207 GB, free: 4.102 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.0005138/0.7488, allocations: 350.1 kB / 0.821 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.7489, allocations: 102.8 kB / 0.8211 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.7491, allocations: 109.2 kB / 0.8212 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7491, allocations: 4 kB / 0.8212 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.7492, allocations: 3.938 kB / 0.8212 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.7502, allocations: 0.7731 MB / 0.822 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.7532, allocations: 1.98 MB / 0.8239 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.7532, allocations: 0 / 0.8239 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/0.7539, allocations: 152.2 kB / 0.824 GB, free: 484 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.203e-05/0.754, allocations: 36.83 kB / 0.8241 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.7541, allocations: 16 kB / 0.8241 GB, free: 428 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.7552, allocations: 1.491 MB / 0.8255 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7552, allocations: 4 kB / 0.8256 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.7569, allocations: 1.222 MB / 0.8267 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.7573, allocations: 251.9 kB / 0.827 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.7574, allocations: 16 kB / 0.827 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.7583, allocations: 71.48 kB / 0.8271 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.7584, allocations: 51.88 kB / 0.8271 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/0.7585, allocations: 27.98 kB / 0.8271 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008002/0.7593, allocations: 0.6122 MB / 0.8277 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7593, allocations: 0 / 0.8277 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001076/0.7604, allocations: 312 kB / 0.828 GB, free: 12.17 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.0005107/0.7609, allocations: 197 kB / 0.8282 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.7624, allocations: 0.9907 MB / 0.8292 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7624, allocations: 4 kB / 0.8292 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.763, allocations: 451.8 kB / 0.8296 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.7657, allocations: 0.625 MB / 0.8302 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.7689, allocations: 2.53 MB / 0.8327 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.7696, allocations: 1.17 MB / 0.8339 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009132/0.7705, allocations: 253.3 kB / 0.8341 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.7707, allocations: 75.44 kB / 0.8342 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.7707, allocations: 4 kB / 0.8342 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of Templates: time 0.034/0.8047, allocations: 21.33 MB / 0.855 GB, free: 0.7852 MB / 0.67 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)