Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008558/0.0008558, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.06/1.06, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002514/0.002514, allocations: 234.2 kB / 260.2 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7467/0.7467, allocations: 138.4 MB / 455.2 MB, free: 1.535 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.623e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3777/0.3778, allocations: 149.6 MB / 0.7012 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005269/0.383, allocations: 3.235 MB / 0.7044 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000693/0.3837, allocations: 43.62 kB / 0.7044 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007606/0.3845, allocations: 250.1 kB / 0.7046 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.386, allocations: 0.9012 MB / 0.7055 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3872, allocations: 0.6977 MB / 0.7062 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.3888, allocations: 2.023 MB / 0.7082 GB, free: 136 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007831/0.3896, allocations: 0.6342 MB / 0.7088 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.3908, allocations: 0.9857 MB / 0.7098 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.392, allocations: 0.6342 MB / 0.7104 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.3921, allocations: 80 kB / 0.7105 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009039/0.393, allocations: 474.8 kB / 0.7109 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.3933, allocations: 422.8 kB / 0.7113 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.3937, allocations: 351.2 kB / 0.7117 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.395, allocations: 0.9889 MB / 0.7126 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.395, allocations: 0 / 0.7126 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/0.395, allocations: 0 / 0.7126 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.395, allocations: 0 / 0.7126 GB, free: 11.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001464/0.3964, allocations: 1.268 MB / 0.7139 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3965, allocations: 12.73 kB / 0.7139 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009636/0.3974, allocations: 299.8 kB / 0.7142 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/0.3984, allocations: 0.6443 MB / 0.7148 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.3984, allocations: 61.94 kB / 0.7148 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.3985, allocations: 84 kB / 0.7149 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.3995, allocations: 0.8572 MB / 0.7158 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.3995, allocations: 7.938 kB / 0.7158 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.3996, allocations: 32 kB / 0.7158 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.3996, allocations: 29.31 kB / 0.7158 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.4002, allocations: 303.3 kB / 0.7161 GB, free: 7.793 MB / 0.5261 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.003207/0.4034, allocations: 4.646 MB / 0.7207 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.4039, allocations: 321.9 kB / 0.721 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.4041, allocations: 128.5 kB / 0.7211 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.4042, allocations: 27.98 kB / 0.7211 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4042, allocations: 45.17 kB / 0.7212 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.4042, allocations: 3.938 kB / 0.7212 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.001849/0.4061, allocations: 1.123 MB / 0.7223 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.4061, allocations: 114.8 kB / 0.7224 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/0.4066, allocations: 0.5454 MB / 0.7229 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.4067, allocations: 33.95 kB / 0.7229 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.407, allocations: 498.8 kB / 0.7234 GB, free: 24 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.4071, allocations: 166.6 kB / 0.7236 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.4072, allocations: 127.9 kB / 0.7237 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4074, allocations: 0.5508 MB / 0.7242 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.4076, allocations: 69.27 kB / 0.7243 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.4079, allocations: 0.5312 MB / 0.7248 GB, free: 14.4 MB / 0.5417 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.4088, allocations: 0.6085 MB / 0.7254 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4088, allocations: 4 kB / 0.7254 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000651/0.4094, allocations: 479.9 kB / 0.7259 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4094, allocations: 5.875 kB / 0.7259 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4094, allocations: 8 kB / 0.7259 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.4095, allocations: 12 kB / 0.7259 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.4098, allocations: 131.8 kB / 0.726 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4098, allocations: 11.98 kB / 0.726 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.4101, allocations: 28.39 kB / 0.726 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.4102, allocations: 28 kB / 0.7261 GB, free: 12.98 MB / 0.5417 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.4104, allocations: 212.8 kB / 0.7263 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.4105, allocations: 83.67 kB / 0.7264 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4106, allocations: 78.23 kB / 0.7264 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4106, allocations: 4 kB / 0.7264 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.4106, allocations: 4 kB / 0.7264 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004671/0.4111, allocations: 0.5357 MB / 0.727 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.4128, allocations: 1.39 MB / 0.7283 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4128, allocations: 4 kB / 0.7283 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.4131, allocations: 103.8 kB / 0.7284 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.4131, allocations: 4 kB / 0.7284 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.4131, allocations: 12 kB / 0.7284 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.4132, allocations: 12.48 kB / 0.7285 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.4132, allocations: 11.88 kB / 0.7285 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.4139, allocations: 0.6677 MB / 0.7291 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.4141, allocations: 109.4 kB / 0.7292 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.4141, allocations: 16.61 kB / 0.7292 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.4144, allocations: 16 kB / 0.7293 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.4145, allocations: 39.81 kB / 0.7293 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.4145, allocations: 20 kB / 0.7293 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003153/0.4148, allocations: 343.6 kB / 0.7296 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.4148, allocations: 0 / 0.7296 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006823/0.4155, allocations: 199.9 kB / 0.7298 GB, free: 8.855 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004016/0.4159, allocations: 180.6 kB / 0.73 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.4164, allocations: 294.4 kB / 0.7303 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4164, allocations: 0 / 0.7303 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.4166, allocations: 145.8 kB / 0.7304 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4177, allocations: 345.9 kB / 0.7307 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.4199, allocations: 1.487 MB / 0.7322 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.4201, allocations: 208.4 kB / 0.7324 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000392/0.4205, allocations: 153.3 kB / 0.7325 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.4206, allocations: 56.48 kB / 0.7326 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/0.4206, allocations: 0 / 0.7326 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of Templates: time 0.01626/0.4369, allocations: 11.87 MB / 0.7442 GB, free: 10.46 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.430579271633178]