Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001318/0.001318, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001601/0.001601, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.48/1.48, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8734/0.8734, allocations: 134 MB / 440.3 MB, free: 240 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 64.73 kB / 0.6108 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1965, allocations: 84.73 MB / 0.6935 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6506/0.8471, allocations: 188.3 MB / 0.8773 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02776/0.8748, allocations: 13.21 MB / 0.8902 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.8765, allocations: 43.62 kB / 0.8903 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.8786, allocations: 441.1 kB / 0.8907 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.8827, allocations: 1.225 MB / 0.8919 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.885, allocations: 0.7434 MB / 0.8926 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003564/0.8886, allocations: 2.066 MB / 0.8946 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.8899, allocations: 0.6216 MB / 0.8952 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004837/0.8947, allocations: 1.907 MB / 0.8971 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.8968, allocations: 0.7115 MB / 0.8978 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.8971, allocations: 84 kB / 0.8979 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.8996, allocations: 0.9353 MB / 0.8988 GB, free: 0 / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007504/0.9003, allocations: 402.8 kB / 0.8992 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.9014, allocations: 0.4976 MB / 0.8997 GB, free: 15.11 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.9046, allocations: 1.502 MB / 0.9011 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.9046, allocations: 4 kB / 0.9011 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9046, allocations: 3.938 kB / 0.9011 GB, free: 13.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.441e-05/0.9047, allocations: 0 / 0.9011 GB, free: 13.59 MB / 0.67 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.003037/0.9077, allocations: 1.193 MB / 0.9023 GB, free: 12.36 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.9078, allocations: 8.031 kB / 0.9023 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.9093, allocations: 223.2 kB / 0.9025 GB, free: 12.13 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.9108, allocations: 0.6038 MB / 0.9031 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.9109, allocations: 58 kB / 0.9032 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.9111, allocations: 83.95 kB / 0.9033 GB, free: 11.36 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.9128, allocations: 0.9287 MB / 0.9042 GB, free: 10.35 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.9128, allocations: 11.94 kB / 0.9042 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/0.9129, allocations: 32 kB / 0.9042 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.913, allocations: 29.3 kB / 0.9042 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.9141, allocations: 0.6177 MB / 0.9048 GB, free: 9.66 MB / 0.67 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.005755/0.9199, allocations: 4.523 MB / 0.9092 GB, free: 4.848 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/0.9207, allocations: 459.8 kB / 0.9097 GB, free: 4.375 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.9211, allocations: 233.6 kB / 0.9099 GB, free: 4.141 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.9213, allocations: 23.98 kB / 0.9099 GB, free: 4.117 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/0.9213, allocations: 51.12 kB / 0.91 GB, free: 4.059 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 2.003e-06/0.9213, allocations: 0 / 0.91 GB, free: 4.059 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.00347/0.9248, allocations: 1.531 MB / 0.9115 GB, free: 2.488 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.9249, allocations: 106.8 kB / 0.9116 GB, free: 2.359 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.926, allocations: 0.7197 MB / 0.9123 GB, free: 1.625 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.926, allocations: 37.7 kB / 0.9123 GB, free: 1.582 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.9264, allocations: 420.5 kB / 0.9127 GB, free: 1.168 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.9266, allocations: 178.5 kB / 0.9129 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.9268, allocations: 118.3 kB / 0.913 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.927, allocations: 330 kB / 0.9133 GB, free: 0.543 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.9274, allocations: 181.2 kB / 0.9135 GB, free: 372 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.928, allocations: 421 kB / 0.9139 GB, free: 15.86 MB / 0.6856 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.002531/0.9305, allocations: 1.09 MB / 0.915 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.9306, allocations: 0 / 0.915 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001382/0.9319, allocations: 0.6794 MB / 0.9156 GB, free: 14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.932, allocations: 11.98 kB / 0.9156 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.932, allocations: 8 kB / 0.9156 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.932, allocations: 8 kB / 0.9156 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.9325, allocations: 124.5 kB / 0.9158 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.9326, allocations: 17.81 kB / 0.9158 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000686/0.9332, allocations: 27.98 kB / 0.9158 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.9333, allocations: 28 kB / 0.9158 GB, free: 13.78 MB / 0.6856 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.0005091/0.9338, allocations: 276.6 kB / 0.9161 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.934, allocations: 91.38 kB / 0.9162 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.9343, allocations: 91.66 kB / 0.9163 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.9343, allocations: 4 kB / 0.9163 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.9343, allocations: 4 kB / 0.9163 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009737/0.9353, allocations: 0.6988 MB / 0.917 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.9383, allocations: 1.599 MB / 0.9185 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.9383, allocations: 12.42 kB / 0.9185 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.9388, allocations: 103.9 kB / 0.9186 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/0.9388, allocations: 4 kB / 0.9186 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.9389, allocations: 19.94 kB / 0.9187 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/0.9389, allocations: 11.94 kB / 0.9187 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.9389, allocations: 4 kB / 0.9187 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.9404, allocations: 0.8931 MB / 0.9195 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.9408, allocations: 139.3 kB / 0.9197 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.9409, allocations: 12 kB / 0.9197 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.9415, allocations: 35.86 kB / 0.9197 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.9415, allocations: 35.89 kB / 0.9198 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.9416, allocations: 24.86 kB / 0.9198 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007938/0.9424, allocations: 0.5068 MB / 0.9203 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9424, allocations: 0 / 0.9203 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00095/0.9433, allocations: 200 kB / 0.9205 GB, free: 8.781 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.0006185/0.9439, allocations: 197.8 kB / 0.9207 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.945, allocations: 464.9 kB / 0.9211 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.945, allocations: 4 kB / 0.9211 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.9453, allocations: 196.4 kB / 0.9213 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.9479, allocations: 484.8 kB / 0.9218 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.951, allocations: 1.671 MB / 0.9234 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/0.9519, allocations: 1.032 MB / 0.9244 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007239/0.9526, allocations: 195 kB / 0.9246 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.9528, allocations: 63.42 kB / 0.9246 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/0.9528, allocations: 0 / 0.9246 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of Templates: time 0.03312/0.9859, allocations: 15.65 MB / 0.9399 GB, free: 5.008 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.873456799425185] Failed to read output from testmodel.py, exit status != 0: 0.9947687992826104 1.01262841 0.104378565 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8eb441d7b0>