Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001742/0.001742, allocations: 81.5 kB / 19.44 MB, free: 344 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.00193/0.00193, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.369/1.369, allocations: 154.8 MB / 414.4 MB, free: 468 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.815e-05, allocations: 3.859 kB / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5582/0.5582, allocations: 184.2 MB / 0.6998 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.5723, allocations: 13.44 MB / 0.7129 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.5734, allocations: 46.47 kB / 0.7129 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.5747, allocations: 427.1 kB / 0.7133 GB, free: 46.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.5775, allocations: 1.228 MB / 0.7145 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.5793, allocations: 0.792 MB / 0.7153 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.5817, allocations: 2.05 MB / 0.7173 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008316/0.5825, allocations: 0.6384 MB / 0.7179 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00413/0.5866, allocations: 2.239 MB / 0.7201 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.5882, allocations: 0.6256 MB / 0.7207 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.5883, allocations: 81.75 kB / 0.7208 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.5899, allocations: 0.7381 MB / 0.7215 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.5903, allocations: 420.9 kB / 0.7219 GB, free: 46.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.5908, allocations: 355.7 kB / 0.7223 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.5932, allocations: 1.52 MB / 0.7238 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5932, allocations: 1.031 kB / 0.7238 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5932, allocations: 0 / 0.7238 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.5933, allocations: 1.375 kB / 0.7238 GB, free: 46.04 MB / 0.6355 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.001984/0.5952, allocations: 1.354 MB / 0.7251 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5953, allocations: 9.219 kB / 0.7251 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.5966, allocations: 296.8 kB / 0.7254 GB, free: 45.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5977, allocations: 0.6349 MB / 0.726 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.5978, allocations: 58 kB / 0.726 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.5979, allocations: 82.06 kB / 0.7261 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.5992, allocations: 1.005 MB / 0.7271 GB, free: 44.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.5992, allocations: 4.375 kB / 0.7271 GB, free: 44.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.5993, allocations: 34.62 kB / 0.7271 GB, free: 44.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.5994, allocations: 30.56 kB / 0.7272 GB, free: 44.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.6002, allocations: 426.8 kB / 0.7276 GB, free: 44.46 MB / 0.6355 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.00424/0.6045, allocations: 4.949 MB / 0.7324 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.6052, allocations: 382.1 kB / 0.7328 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.6055, allocations: 170.5 kB / 0.7329 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.6056, allocations: 31.17 kB / 0.733 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6056, allocations: 43.7 kB / 0.733 GB, free: 40.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 2.975e-06/0.6057, allocations: 0.9688 kB / 0.733 GB, free: 40.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.002696/0.6083, allocations: 1.277 MB / 0.7343 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.6084, allocations: 114.9 kB / 0.7344 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007699/0.6092, allocations: 0.6616 MB / 0.735 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.6092, allocations: 39.77 kB / 0.735 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.6095, allocations: 0.5055 MB / 0.7355 GB, free: 39.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.6097, allocations: 187.9 kB / 0.7357 GB, free: 39.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.6099, allocations: 140 kB / 0.7359 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002496/0.6101, allocations: 0.586 MB / 0.7364 GB, free: 38.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.6104, allocations: 109.8 kB / 0.7365 GB, free: 38.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.6109, allocations: 0.5811 MB / 0.7371 GB, free: 38.33 MB / 0.6355 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.002183/0.6131, allocations: 0.9436 MB / 0.738 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.6131, allocations: 1.938 kB / 0.738 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001023/0.6142, allocations: 0.5408 MB / 0.7386 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6142, allocations: 6.875 kB / 0.7386 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6142, allocations: 6.875 kB / 0.7386 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.739e-05/0.6142, allocations: 15.22 kB / 0.7386 GB, free: 37.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.6147, allocations: 127.1 kB / 0.7387 GB, free: 37.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/0.6147, allocations: 15.22 kB / 0.7387 GB, free: 37.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/0.6154, allocations: 26.17 kB / 0.7387 GB, free: 37.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.6155, allocations: 29.33 kB / 0.7388 GB, free: 37.9 MB / 0.6355 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.0005297/0.616, allocations: 254.4 kB / 0.739 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.6163, allocations: 86.53 kB / 0.7391 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.6165, allocations: 73.69 kB / 0.7392 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.6165, allocations: 10.45 kB / 0.7392 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.6165, allocations: 6.422 kB / 0.7392 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006795/0.6172, allocations: 0.5924 MB / 0.7398 GB, free: 37.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.6197, allocations: 1.607 MB / 0.7413 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.6197, allocations: 3.812 kB / 0.7413 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.6202, allocations: 99.12 kB / 0.7414 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.6202, allocations: 7.469 kB / 0.7414 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.6202, allocations: 19.09 kB / 0.7414 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/0.6203, allocations: 11.78 kB / 0.7415 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.6203, allocations: 7.688 kB / 0.7415 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.6213, allocations: 0.7763 MB / 0.7422 GB, free: 36.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.6216, allocations: 106.7 kB / 0.7423 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-05/0.6217, allocations: 16.7 kB / 0.7423 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.6221, allocations: 19.58 kB / 0.7424 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.6222, allocations: 45.42 kB / 0.7424 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.6222, allocations: 18.38 kB / 0.7424 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004439/0.6226, allocations: 403.5 kB / 0.7428 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6226, allocations: 0.875 kB / 0.7428 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009/0.6235, allocations: 205.7 kB / 0.743 GB, free: 35.9 MB / 0.6355 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.0005062/0.6241, allocations: 189.8 kB / 0.7432 GB, free: 35.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007911/0.6248, allocations: 377.7 kB / 0.7435 GB, free: 35.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6249, allocations: 1.031 kB / 0.7435 GB, free: 35.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.6251, allocations: 175.4 kB / 0.7437 GB, free: 35.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.6267, allocations: 345.8 kB / 0.744 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.6292, allocations: 1.515 MB / 0.7455 GB, free: 34.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.6296, allocations: 422.2 kB / 0.7459 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000602/0.6302, allocations: 151.7 kB / 0.7461 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.6304, allocations: 53.97 kB / 0.7461 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of SimCode: time 1.613e-06/0.6304, allocations: 0.9375 kB / 0.7461 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of Templates: time 0.02044/0.6508, allocations: 12.02 MB / 0.7579 GB, free: 33.6 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.175930286059156]