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.001112/0.001112, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009858/0.0009858, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8742/0.8742, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.001448/0.001448, allocations: 237.5 kB / 260.2 MB, free: 13 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.6753/0.6753, allocations: 138.4 MB / 455.1 MB, free: 30.02 MB / 410.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.723e-06/1.723e-06, allocations: 0 / 0.6475 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.189e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.373/0.3731, allocations: 165.4 MB / 0.8091 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.3836, allocations: 11.99 MB / 0.8208 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007303/0.3844, allocations: 43.62 kB / 0.8208 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.3854, allocations: 429 kB / 0.8212 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.3872, allocations: 1.236 MB / 0.8225 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3884, allocations: 0.782 MB / 0.8232 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001663/0.3901, allocations: 2.045 MB / 0.8252 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.3906, allocations: 0.6175 MB / 0.8258 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.393, allocations: 2.086 MB / 0.8279 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009023/0.3939, allocations: 0.6179 MB / 0.8285 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.36e-05/0.394, allocations: 80 kB / 0.8285 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009894/0.395, allocations: 0.7517 MB / 0.8293 GB, free: 496 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.3953, allocations: 418.8 kB / 0.8297 GB, free: 76 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.3955, allocations: 352.9 kB / 0.83 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.3968, allocations: 1.512 MB / 0.8315 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3968, allocations: 0 / 0.8315 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3968, allocations: 0 / 0.8315 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3968, allocations: 3.938 kB / 0.8315 GB, free: 14.21 MB / 0.6667 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.001225/0.398, allocations: 1.182 MB / 0.8326 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3981, allocations: 8.75 kB / 0.8326 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006441/0.3987, allocations: 219.7 kB / 0.8329 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.3994, allocations: 0.6155 MB / 0.8335 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.3994, allocations: 62 kB / 0.8335 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.586e-05/0.3995, allocations: 76 kB / 0.8336 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.4006, allocations: 1.053 MB / 0.8346 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4006, allocations: 7.938 kB / 0.8346 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.4006, allocations: 35.84 kB / 0.8347 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.4007, allocations: 29.31 kB / 0.8347 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.4013, allocations: 0.6177 MB / 0.8353 GB, free: 10.14 MB / 0.6667 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.002598/0.4039, allocations: 3.586 MB / 0.8388 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.4044, allocations: 460.3 kB / 0.8392 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.4046, allocations: 228.7 kB / 0.8394 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.743e-05/0.4047, allocations: 31.98 kB / 0.8395 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.4047, allocations: 41.66 kB / 0.8395 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.4047, allocations: 4 kB / 0.8395 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001709/0.4065, allocations: 1.52 MB / 0.841 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.4065, allocations: 114.7 kB / 0.8411 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.4069, allocations: 0.5458 MB / 0.8416 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.4069, allocations: 33.7 kB / 0.8417 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.4071, allocations: 436.3 kB / 0.8421 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.913e-05/0.4072, allocations: 170.6 kB / 0.8423 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.4073, allocations: 118.2 kB / 0.8424 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4074, allocations: 374.8 kB / 0.8427 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4076, allocations: 189.2 kB / 0.8429 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.408, allocations: 0.5578 MB / 0.8435 GB, free: 1.379 MB / 0.6667 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.001561/0.4095, allocations: 1.102 MB / 0.8445 GB, free: 196 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4095, allocations: 0 / 0.8445 GB, free: 196 kB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006313/0.4102, allocations: 0.6532 MB / 0.8452 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4102, allocations: 8 kB / 0.8452 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.4102, allocations: 8 kB / 0.8452 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4102, allocations: 11.98 kB / 0.8452 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.4105, allocations: 127.8 kB / 0.8453 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4105, allocations: 13.03 kB / 0.8453 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.4107, allocations: 30.62 kB / 0.8454 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.4107, allocations: 29.44 kB / 0.8454 GB, free: 15.31 MB / 0.6823 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.0002404/0.411, allocations: 278.2 kB / 0.8457 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.411, allocations: 67.58 kB / 0.8457 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.4111, allocations: 78.25 kB / 0.8458 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4111, allocations: 4 kB / 0.8458 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4111, allocations: 7.922 kB / 0.8458 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000456/0.4116, allocations: 0.6985 MB / 0.8465 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.413, allocations: 1.437 MB / 0.8479 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.413, allocations: 4 kB / 0.8479 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.4132, allocations: 100.7 kB / 0.848 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.4132, allocations: 8.5 kB / 0.848 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.4132, allocations: 23.27 kB / 0.848 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4132, allocations: 4 kB / 0.848 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4132, allocations: 7.938 kB / 0.848 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.414, allocations: 0.8521 MB / 0.8489 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4142, allocations: 110.7 kB / 0.849 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.4142, allocations: 16 kB / 0.849 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4144, allocations: 24.58 kB / 0.849 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.4144, allocations: 39.83 kB / 0.849 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.4145, allocations: 27.98 kB / 0.8491 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002735/0.4147, allocations: 362.8 kB / 0.8494 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4147, allocations: 0 / 0.8494 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004424/0.4152, allocations: 199.9 kB / 0.8496 GB, free: 10.76 MB / 0.6823 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.0003606/0.4155, allocations: 190.1 kB / 0.8498 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005108/0.416, allocations: 456.4 kB / 0.8502 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4161, allocations: 4 kB / 0.8502 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.4162, allocations: 205.7 kB / 0.8504 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008436/0.4171, allocations: 337.9 kB / 0.8507 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.4189, allocations: 1.627 MB / 0.8523 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4192, allocations: 428.2 kB / 0.8527 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4193, allocations: 64.48 kB / 0.8528 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of SimCode: time 6.82e-07/0.4193, allocations: 0 / 0.8528 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of Templates: time 0.009704/0.429, allocations: 11.56 MB / 0.8641 GB, free: 12.01 MB / 0.698 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.475779878906906] Failed to read output from testmodel.py, exit status != 0: 0.43464813567698 0.442553829 0.044083756 Calling exit ...