Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009943/0.0009943, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.0008943/0.0008943, allocations: 161.4 kB / 24.17 MB, free: 332 kB / 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.9482/0.9482, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.882/1.882, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.203e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1272/0.1272, allocations: 149 MB / 0.9207 GB, free: 44 kB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.004969/0.1322, allocations: 3.269 MB / 0.9238 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006187/0.1328, allocations: 43.62 kB / 0.9239 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006801/0.1335, allocations: 242.2 kB / 0.9241 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1348, allocations: 0.8857 MB / 0.925 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1359, allocations: 0.6976 MB / 0.9257 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.1376, allocations: 1.984 MB / 0.9276 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005917/0.1382, allocations: 0.6152 MB / 0.9282 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.1397, allocations: 1.114 MB / 0.9293 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005781/0.1403, allocations: 0.5609 MB / 0.9298 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-05/0.1404, allocations: 76 kB / 0.9299 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005882/0.141, allocations: 387.1 kB / 0.9303 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.1412, allocations: 414.9 kB / 0.9307 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.1416, allocations: 351.2 kB / 0.931 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1426, allocations: 0.9577 MB / 0.9319 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.1426, allocations: 0 / 0.9319 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1426, allocations: 0 / 0.9319 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.1426, allocations: 0 / 0.9319 GB, free: 4.453 MB / 0.8855 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.0009518/0.1435, allocations: 1.099 MB / 0.933 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.169e-05/0.1436, allocations: 17.58 kB / 0.933 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.1442, allocations: 264.4 kB / 0.9333 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.1448, allocations: 0.5318 MB / 0.9338 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.1448, allocations: 66.06 kB / 0.9339 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.1449, allocations: 87.92 kB / 0.934 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.1454, allocations: 0.7602 MB / 0.9347 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1455, allocations: 11.92 kB / 0.9347 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.1455, allocations: 36 kB / 0.9347 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.1455, allocations: 29.31 kB / 0.9348 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.1458, allocations: 256.1 kB / 0.935 GB, free: 1.129 MB / 0.8855 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.002015/0.1478, allocations: 3.266 MB / 0.9382 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.1481, allocations: 383.6 kB / 0.9386 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1482, allocations: 114.4 kB / 0.9387 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.788e-05/0.1483, allocations: 28.31 kB / 0.9387 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1483, allocations: 42.83 kB / 0.9387 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=42): time 1.323e-06/0.1483, allocations: 0 / 0.9387 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.000975/0.1493, allocations: 0.6425 MB / 0.9394 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1493, allocations: 106.8 kB / 0.9395 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1496, allocations: 475 kB / 0.9399 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1496, allocations: 33.7 kB / 0.94 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1498, allocations: 369.2 kB / 0.9403 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.1499, allocations: 170.5 kB / 0.9405 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.15, allocations: 114.2 kB / 0.9406 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1501, allocations: 374.6 kB / 0.9409 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.1501, allocations: 60.11 kB / 0.941 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.1504, allocations: 400.7 kB / 0.9414 GB, free: 10.22 MB / 0.9011 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.0004499/0.1508, allocations: 497.2 kB / 0.9419 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1508, allocations: 0 / 0.9419 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000332/0.1511, allocations: 362.3 kB / 0.9422 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1512, allocations: 10.03 kB / 0.9422 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1512, allocations: 4 kB / 0.9422 GB, free: 9.266 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1512, allocations: 12 kB / 0.9422 GB, free: 9.254 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.1514, allocations: 123.8 kB / 0.9423 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1514, allocations: 11.94 kB / 0.9424 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1516, allocations: 32.36 kB / 0.9424 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.1516, allocations: 24 kB / 0.9424 GB, free: 9.066 MB / 0.9011 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.0001384/0.1518, allocations: 156.4 kB / 0.9426 GB, free: 8.902 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.1519, allocations: 55.94 kB / 0.9426 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.1519, allocations: 74.09 kB / 0.9427 GB, free: 8.773 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1519, allocations: 4 kB / 0.9427 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1519, allocations: 4 kB / 0.9427 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000262/0.1522, allocations: 479.5 kB / 0.9431 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000951/0.1531, allocations: 1.038 MB / 0.9442 GB, free: 7.086 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1532, allocations: 4 kB / 0.9442 GB, free: 7.082 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.1534, allocations: 95.83 kB / 0.9443 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1534, allocations: 8.5 kB / 0.9443 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.1534, allocations: 20 kB / 0.9443 GB, free: 6.961 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1534, allocations: 7.938 kB / 0.9443 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1534, allocations: 7.984 kB / 0.9443 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.1538, allocations: 0.5346 MB / 0.9448 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1539, allocations: 87.42 kB / 0.9449 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.154, allocations: 16 kB / 0.9449 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1541, allocations: 15.98 kB / 0.9449 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1542, allocations: 43.83 kB / 0.945 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1542, allocations: 19.98 kB / 0.945 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000143/0.1543, allocations: 204.4 kB / 0.9452 GB, free: 5.953 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.1543, allocations: 0 / 0.9452 GB, free: 5.953 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003843/0.1547, allocations: 196 kB / 0.9454 GB, free: 5.762 MB / 0.9011 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.0002548/0.155, allocations: 163.6 kB / 0.9455 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.1553, allocations: 239.2 kB / 0.9458 GB, free: 5.371 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.1553, allocations: 8 kB / 0.9458 GB, free: 5.363 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1554, allocations: 121 kB / 0.9459 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.1561, allocations: 355.1 kB / 0.9462 GB, free: 4.906 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1576, allocations: 1.385 MB / 0.9476 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.1577, allocations: 210.3 kB / 0.9478 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000237/0.1579, allocations: 97.31 kB / 0.9479 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.1584, allocations: 279 kB / 0.9481 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of SimCode: time 3.61e-07/0.1584, allocations: 4 kB / 0.9481 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of Templates: time 0.01428/0.1727, allocations: 12.71 MB / 0.9605 GB, free: 6.469 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.323246198706329]