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.0009509/0.0009509, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009052/0.0009052, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9552/0.9552, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.002472/0.002472, allocations: 234 kB / 260.2 MB, free: 12.81 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.7283/0.7283, allocations: 138.4 MB / 455.2 MB, free: 1.5 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.874e-06/1.874e-06, allocations: 0 / 0.5551 GB, free: 472 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.133e-05, allocations: 2.312 kB / 0.5551 GB, free: 468 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3968/0.3968, allocations: 149.6 MB / 0.7012 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004614/0.4014, allocations: 3.232 MB / 0.7044 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007566/0.4022, allocations: 43.62 kB / 0.7044 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.4031, allocations: 254.1 kB / 0.7047 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.4046, allocations: 0.8856 MB / 0.7055 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.4058, allocations: 0.7016 MB / 0.7062 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.4075, allocations: 2.019 MB / 0.7082 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008215/0.4083, allocations: 0.6381 MB / 0.7088 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.4102, allocations: 1.12 MB / 0.7099 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007449/0.4109, allocations: 0.6076 MB / 0.7105 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.411, allocations: 80 kB / 0.7106 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007681/0.4118, allocations: 391 kB / 0.711 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.4121, allocations: 426.8 kB / 0.7114 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.4124, allocations: 351.2 kB / 0.7117 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.4136, allocations: 0.9616 MB / 0.7126 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4136, allocations: 0 / 0.7126 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4136, allocations: 0 / 0.7126 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.4136, allocations: 0 / 0.7126 GB, free: 11.53 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.001463/0.4151, allocations: 1.253 MB / 0.7139 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4151, allocations: 8.75 kB / 0.7139 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008153/0.4159, allocations: 283.9 kB / 0.7141 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.4166, allocations: 0.6303 MB / 0.7148 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.4167, allocations: 61.81 kB / 0.7148 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.63e-05/0.4168, allocations: 91.83 kB / 0.7149 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.4177, allocations: 0.8578 MB / 0.7157 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.4177, allocations: 7.938 kB / 0.7157 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.4178, allocations: 32 kB / 0.7158 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.4178, allocations: 37.3 kB / 0.7158 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.4182, allocations: 295.4 kB / 0.7161 GB, free: 7.777 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.002881/0.4211, allocations: 4.634 MB / 0.7206 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.4215, allocations: 313.7 kB / 0.7209 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.4217, allocations: 127.7 kB / 0.721 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.4218, allocations: 28.31 kB / 0.7211 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4218, allocations: 45.66 kB / 0.7211 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.337e-06/0.4218, allocations: 0 / 0.7211 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.001536/0.4234, allocations: 1.114 MB / 0.7222 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.4234, allocations: 110.6 kB / 0.7223 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.4238, allocations: 0.5376 MB / 0.7228 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.4239, allocations: 37.95 kB / 0.7229 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.4241, allocations: 498.7 kB / 0.7233 GB, free: 56 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.4242, allocations: 166.8 kB / 0.7235 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.4243, allocations: 123.9 kB / 0.7236 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4245, allocations: 0.5508 MB / 0.7242 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.4246, allocations: 69.27 kB / 0.7242 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.4249, allocations: 0.4898 MB / 0.7247 GB, free: 14.48 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.0006811/0.4256, allocations: 0.6164 MB / 0.7253 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4256, allocations: 0 / 0.7253 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005288/0.4261, allocations: 472.1 kB / 0.7257 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4261, allocations: 8.781 kB / 0.7258 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/0.4261, allocations: 11.94 kB / 0.7258 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.4262, allocations: 15.98 kB / 0.7258 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.4264, allocations: 127.8 kB / 0.7259 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4264, allocations: 11.94 kB / 0.7259 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.4266, allocations: 27.94 kB / 0.7259 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.4267, allocations: 24 kB / 0.726 GB, free: 13.06 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 (73): * Single equations (assignments): 73 * 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.0004233/0.4271, allocations: 204.3 kB / 0.7262 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.81e-05/0.4272, allocations: 79.58 kB / 0.7262 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.4273, allocations: 78.33 kB / 0.7263 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4273, allocations: 7.984 kB / 0.7263 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4273, allocations: 8 kB / 0.7263 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003576/0.4276, allocations: 0.5348 MB / 0.7268 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.429, allocations: 1.397 MB / 0.7282 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.429, allocations: 4 kB / 0.7282 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.4293, allocations: 95.89 kB / 0.7283 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.4293, allocations: 8 kB / 0.7283 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.4294, allocations: 15.98 kB / 0.7283 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-06/0.4294, allocations: 7.938 kB / 0.7283 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4294, allocations: 4 kB / 0.7283 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007158/0.4301, allocations: 0.6617 MB / 0.729 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.4302, allocations: 105.4 kB / 0.7291 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.4303, allocations: 15.98 kB / 0.7291 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.4306, allocations: 17.02 kB / 0.7291 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.4306, allocations: 43.81 kB / 0.7292 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.4307, allocations: 20 kB / 0.7292 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003092/0.431, allocations: 342.8 kB / 0.7295 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.431, allocations: 0 / 0.7295 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006411/0.4316, allocations: 199.9 kB / 0.7297 GB, free: 8.941 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 (44): * Single equations (assignments): 44 * 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.0003912/0.432, allocations: 175.3 kB / 0.7299 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004873/0.4325, allocations: 290.3 kB / 0.7301 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4325, allocations: 7.938 kB / 0.7302 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.4327, allocations: 132.9 kB / 0.7303 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.4338, allocations: 342.4 kB / 0.7306 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.4361, allocations: 1.484 MB / 0.7321 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.4362, allocations: 206.4 kB / 0.7323 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004049/0.4366, allocations: 148.1 kB / 0.7324 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4367, allocations: 52.5 kB / 0.7324 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of SimCode: time 8.91e-07/0.4367, allocations: 0 / 0.7324 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of Templates: time 0.0194/0.4562, allocations: 12.65 MB / 0.7448 GB, free: 9.82 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.331551084294915]