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.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.001923/0.001923, allocations: 85.48 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.002203/0.002203, 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.357/1.357, allocations: 154.6 MB / 414.1 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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 1.292e-06/1.292e-06, allocations: 0 / 0.5196 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.402e-05, allocations: 6.859 kB / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5789/0.5789, allocations: 184.2 MB / 0.6995 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.5936, allocations: 13.44 MB / 0.7126 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.595, allocations: 44.91 kB / 0.7127 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.5964, allocations: 433.4 kB / 0.7131 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.5997, allocations: 1.232 MB / 0.7143 GB, free: 46.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.6016, allocations: 0.7948 MB / 0.7151 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002594/0.6042, allocations: 2.041 MB / 0.7171 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008484/0.6051, allocations: 0.6447 MB / 0.7177 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.6097, allocations: 2.243 MB / 0.7199 GB, free: 46.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.6114, allocations: 0.6201 MB / 0.7205 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.6116, allocations: 79.19 kB / 0.7206 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.6135, allocations: 0.7394 MB / 0.7213 GB, free: 46.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004754/0.6139, allocations: 418.8 kB / 0.7217 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/0.6145, allocations: 360 kB / 0.722 GB, free: 46.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.6176, allocations: 1.517 MB / 0.7235 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.6176, allocations: 1.219 kB / 0.7235 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6176, allocations: 0 / 0.7235 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.6177, allocations: 0.9688 kB / 0.7235 GB, free: 46.09 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.002291/0.62, allocations: 1.351 MB / 0.7248 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.62, allocations: 13.8 kB / 0.7249 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.6214, allocations: 298.1 kB / 0.7251 GB, free: 45.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.6226, allocations: 0.6306 MB / 0.7258 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.6227, allocations: 64.36 kB / 0.7258 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.6228, allocations: 76.38 kB / 0.7259 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.6241, allocations: 1.002 MB / 0.7269 GB, free: 44.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.6241, allocations: 5.844 kB / 0.7269 GB, free: 44.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.6242, allocations: 38.92 kB / 0.7269 GB, free: 44.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.784e-05/0.6242, allocations: 31.69 kB / 0.7269 GB, free: 44.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.625, allocations: 422.8 kB / 0.7273 GB, free: 44.5 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.004007/0.629, allocations: 4.948 MB / 0.7322 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.6297, allocations: 381.9 kB / 0.7325 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.63, allocations: 176 kB / 0.7327 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.6302, allocations: 24.66 kB / 0.7327 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.6302, allocations: 44.27 kB / 0.7328 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/0.6302, allocations: 4.969 kB / 0.7328 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.002515/0.6327, allocations: 1.277 MB / 0.734 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.6328, allocations: 110.4 kB / 0.7341 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.6335, allocations: 0.6642 MB / 0.7348 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.6335, allocations: 35.39 kB / 0.7348 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.6338, allocations: 0.5011 MB / 0.7353 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.634, allocations: 185 kB / 0.7355 GB, free: 39.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.6342, allocations: 146.3 kB / 0.7356 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.6344, allocations: 0.5831 MB / 0.7362 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.6346, allocations: 108.5 kB / 0.7363 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.6351, allocations: 0.5835 MB / 0.7369 GB, free: 38.38 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.6373, allocations: 0.9453 MB / 0.7378 GB, free: 38.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6373, allocations: 2.125 kB / 0.7378 GB, free: 38.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009683/0.6383, allocations: 0.5461 MB / 0.7383 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.6383, allocations: 10.31 kB / 0.7383 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6383, allocations: 7.188 kB / 0.7383 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.6383, allocations: 14.12 kB / 0.7383 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.6388, allocations: 129.2 kB / 0.7385 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.6388, allocations: 17.31 kB / 0.7385 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.6394, allocations: 27.08 kB / 0.7385 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.6394, allocations: 30.36 kB / 0.7385 GB, free: 37.95 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.0003629/0.6398, allocations: 251.2 kB / 0.7388 GB, free: 37.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.64, allocations: 84.55 kB / 0.7389 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.6401, allocations: 73.47 kB / 0.7389 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.6401, allocations: 10 kB / 0.7389 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.6402, allocations: 0.875 kB / 0.7389 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006027/0.6408, allocations: 0.5994 MB / 0.7395 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.6432, allocations: 1.606 MB / 0.7411 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.6432, allocations: 4.906 kB / 0.7411 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.6436, allocations: 97.53 kB / 0.7412 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6436, allocations: 7.062 kB / 0.7412 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.6437, allocations: 13.95 kB / 0.7412 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.6437, allocations: 14.66 kB / 0.7412 GB, free: 36.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.6437, allocations: 13.55 kB / 0.7412 GB, free: 36.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.6446, allocations: 0.765 MB / 0.742 GB, free: 36.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.6449, allocations: 109.4 kB / 0.7421 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.645, allocations: 15.95 kB / 0.7421 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.6454, allocations: 11.59 kB / 0.7421 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.6454, allocations: 48.81 kB / 0.7422 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.6455, allocations: 20.52 kB / 0.7422 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004752/0.646, allocations: 404.5 kB / 0.7426 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.646, allocations: 0.8438 kB / 0.7426 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000875/0.6468, allocations: 204.2 kB / 0.7428 GB, free: 35.96 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.0004909/0.6473, allocations: 191.3 kB / 0.7429 GB, free: 35.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007475/0.6481, allocations: 379.2 kB / 0.7433 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6481, allocations: 0.9375 kB / 0.7433 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.6483, allocations: 173.4 kB / 0.7435 GB, free: 35.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.6499, allocations: 342.4 kB / 0.7438 GB, free: 35.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.6523, allocations: 1.511 MB / 0.7453 GB, free: 35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.6528, allocations: 424.2 kB / 0.7457 GB, free: 34.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005774/0.6534, allocations: 142.3 kB / 0.7458 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.6536, allocations: 55.81 kB / 0.7459 GB, free: 34.88 MB / 0.6355 GB Notification: Performance of SimCode: time 1.343e-06/0.6536, allocations: 0 / 0.7459 GB, free: 34.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.02011/0.6737, allocations: 12.04 MB / 0.7576 GB, free: 33.66 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.1321002239128575]