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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 110.5 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002371/0.002371, allocations: 281 kB / 303.6 MB, free: 3.723 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 180.9 MB / 0.5268 GB, free: 2.711 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(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 0.002798/0.002798, allocations: 99.83 kB / 0.7259 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6382, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2508/0.8891, allocations: 187.9 MB / 1.001 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01802/0.9071, allocations: 13.14 MB / 1.014 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.9083, allocations: 39.81 kB / 1.014 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.9098, allocations: 433.1 kB / 1.015 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003189/0.913, allocations: 1.206 MB / 1.016 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.915, allocations: 0.7126 MB / 1.017 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003004/0.918, allocations: 2.02 MB / 1.019 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.9191, allocations: 0.6873 MB / 1.019 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/0.9237, allocations: 1.88 MB / 1.021 GB, free: 424 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.9258, allocations: 0.7066 MB / 1.022 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.926, allocations: 83.94 kB / 1.022 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.9283, allocations: 0.9274 MB / 1.023 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005158/0.9288, allocations: 394.8 kB / 1.023 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007278/0.9296, allocations: 0.4976 MB / 1.024 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.9322, allocations: 1.502 MB / 1.025 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9322, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9322, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.738e-05/0.9322, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7637 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.002155/0.9343, allocations: 1.265 MB / 1.026 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.9344, allocations: 12.03 kB / 1.026 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.9357, allocations: 215.2 kB / 1.026 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.9369, allocations: 0.6915 MB / 1.027 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.9369, allocations: 62 kB / 1.027 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.9371, allocations: 80 kB / 1.027 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.9386, allocations: 0.9288 MB / 1.028 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.9386, allocations: 4 kB / 1.028 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/0.9387, allocations: 39.94 kB / 1.028 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/0.9388, allocations: 29.31 kB / 1.028 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.9399, allocations: 0.6177 MB / 1.029 GB, free: 8.188 MB / 0.7637 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.005261/0.9451, allocations: 4.59 MB / 1.033 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009567/0.9461, allocations: 0.5228 MB / 1.034 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.9465, allocations: 237.4 kB / 1.034 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.9467, allocations: 97.09 kB / 1.034 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.9467, allocations: 50.28 kB / 1.034 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.9467, allocations: 0 / 1.034 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.003217/0.9499, allocations: 1.619 MB / 1.036 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.95, allocations: 106.8 kB / 1.036 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.951, allocations: 0.7235 MB / 1.037 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.951, allocations: 37.7 kB / 1.037 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.9514, allocations: 416.6 kB / 1.037 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.9516, allocations: 170.6 kB / 1.037 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.9518, allocations: 114.3 kB / 1.037 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.9519, allocations: 334 kB / 1.038 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.9522, allocations: 185.1 kB / 1.038 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.9528, allocations: 425 kB / 1.038 GB, free: 14.03 MB / 0.7794 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.0025/0.9553, allocations: 1.182 MB / 1.039 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9553, allocations: 0 / 1.039 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001137/0.9564, allocations: 0.6681 MB / 1.04 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.9565, allocations: 11.94 kB / 1.04 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9565, allocations: 4 kB / 1.04 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.9565, allocations: 16.73 kB / 1.04 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.957, allocations: 119.8 kB / 1.04 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.11e-05/0.957, allocations: 19.94 kB / 1.04 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.9576, allocations: 31.88 kB / 1.04 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.9576, allocations: 28 kB / 1.04 GB, free: 11.84 MB / 0.7794 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.0004103/0.958, allocations: 274.2 kB / 1.041 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.9582, allocations: 87.42 kB / 1.041 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.9584, allocations: 91.66 kB / 1.041 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.9584, allocations: 4 kB / 1.041 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9584, allocations: 3.938 kB / 1.041 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008425/0.9592, allocations: 0.7076 MB / 1.041 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.9619, allocations: 1.642 MB / 1.043 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9619, allocations: 4.5 kB / 1.043 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.9623, allocations: 99.89 kB / 1.043 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.9624, allocations: 7.938 kB / 1.043 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.9624, allocations: 24.05 kB / 1.043 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.9624, allocations: 11.94 kB / 1.043 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.9624, allocations: 7.984 kB / 1.043 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.9637, allocations: 0.8657 MB / 1.044 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.964, allocations: 204.5 kB / 1.044 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/0.9641, allocations: 16 kB / 1.044 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.9645, allocations: 19.98 kB / 1.044 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.9646, allocations: 39.84 kB / 1.044 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.9646, allocations: 23.98 kB / 1.044 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007118/0.9653, allocations: 0.5107 MB / 1.045 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/0.9653, allocations: 0 / 1.045 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000799/0.9661, allocations: 203.9 kB / 1.045 GB, free: 6.727 MB / 0.7794 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.0005259/0.9667, allocations: 198.7 kB / 1.045 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008762/0.9675, allocations: 461.2 kB / 1.046 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.9675, allocations: 4 kB / 1.046 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.9679, allocations: 203.7 kB / 1.046 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.97, allocations: 490.5 kB / 1.046 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.9729, allocations: 1.737 MB / 1.048 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.9736, allocations: 1.036 MB / 1.049 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.9738, allocations: 63.44 kB / 1.049 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of SimCode: time 7.21e-07/0.9738, allocations: 0 / 1.049 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of Templates: time 0.02141/0.9952, allocations: 13.04 MB / 1.062 GB, free: 5.594 MB / 0.795 GB " [Timeout remaining time 659] 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: 11.97562212892808] Failed to read output from testmodel.py, exit status != 0: 1.003849399043247 1.017199387 0.08193285700000001 Calling exit ...