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.0007938/0.0007938, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008984/0.0008984, allocations: 173 kB / 23.5 MB, free: 1.051 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7965/0.7965, allocations: 154.6 MB / 414.9 MB, free: 0.6523 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 179] 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.553e-06/1.553e-06, allocations: 0 / 0.5204 GB, free: 2.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.692e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.469 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4932/0.4933, allocations: 184.3 MB / 0.7003 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.506, allocations: 13.44 MB / 0.7135 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.5073, allocations: 46.09 kB / 0.7135 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.5086, allocations: 431.8 kB / 0.7139 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.5114, allocations: 1.231 MB / 0.7151 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.5132, allocations: 0.7896 MB / 0.7159 GB, free: 47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002586/0.5157, allocations: 2.049 MB / 0.7179 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009389/0.5167, allocations: 0.6423 MB / 0.7185 GB, free: 46.76 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.5204, allocations: 2.235 MB / 0.7207 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.5217, allocations: 0.6322 MB / 0.7213 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.5219, allocations: 78.28 kB / 0.7214 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.5232, allocations: 0.7385 MB / 0.7221 GB, free: 46.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.5236, allocations: 424.8 kB / 0.7225 GB, free: 46.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.524, allocations: 355.5 kB / 0.7229 GB, free: 46.28 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.5264, allocations: 1.127 MB / 0.724 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.5264, allocations: 0 / 0.724 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5264, allocations: 1.562 kB / 0.724 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.531e-05/0.5264, allocations: 0 / 0.724 GB, free: 46.14 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.001978/0.5284, allocations: 1.302 MB / 0.7252 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5284, allocations: 9.844 kB / 0.7252 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.5295, allocations: 299.1 kB / 0.7255 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009265/0.5304, allocations: 0.6395 MB / 0.7262 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.5304, allocations: 56.88 kB / 0.7262 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.5305, allocations: 78.28 kB / 0.7263 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008541/0.5314, allocations: 0.863 MB / 0.7271 GB, free: 44.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5314, allocations: 6.375 kB / 0.7271 GB, free: 44.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.5314, allocations: 33.31 kB / 0.7272 GB, free: 44.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.5315, allocations: 30.94 kB / 0.7272 GB, free: 44.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.532, allocations: 304.9 kB / 0.7275 GB, free: 44.54 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.002707/0.5347, allocations: 4.635 MB / 0.732 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.5352, allocations: 316.5 kB / 0.7323 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.5354, allocations: 131.5 kB / 0.7324 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.5355, allocations: 27.73 kB / 0.7325 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.5356, allocations: 44.64 kB / 0.7325 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 3.848e-06/0.5356, allocations: 0.6875 kB / 0.7325 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.001904/0.5375, allocations: 1.123 MB / 0.7336 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.5375, allocations: 111.4 kB / 0.7337 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.538, allocations: 0.5462 MB / 0.7342 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.538, allocations: 37.36 kB / 0.7343 GB, free: 39.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.5382, allocations: 489.3 kB / 0.7347 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/0.5383, allocations: 176.9 kB / 0.7349 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.5384, allocations: 124.1 kB / 0.735 GB, free: 39.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.5385, allocations: 0.5484 MB / 0.7356 GB, free: 39.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.5386, allocations: 71.47 kB / 0.7356 GB, free: 39.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.5389, allocations: 0.5258 MB / 0.7362 GB, free: 38.48 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.0007354/0.5396, allocations: 0.6293 MB / 0.7368 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5396, allocations: 2.594 kB / 0.7368 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006517/0.5403, allocations: 476.7 kB / 0.7372 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.5403, allocations: 8.344 kB / 0.7372 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.5403, allocations: 7.344 kB / 0.7372 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.5403, allocations: 14.34 kB / 0.7373 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.5407, allocations: 125.6 kB / 0.7374 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.5407, allocations: 14.81 kB / 0.7374 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.541, allocations: 26.75 kB / 0.7374 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.5411, allocations: 27.19 kB / 0.7374 GB, free: 38.05 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.0002226/0.5413, allocations: 203.4 kB / 0.7376 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.5414, allocations: 83.98 kB / 0.7377 GB, free: 37.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.904e-05/0.5415, allocations: 77.41 kB / 0.7378 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.5415, allocations: 8.953 kB / 0.7378 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.5415, allocations: 1.188 kB / 0.7378 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003706/0.5419, allocations: 0.5361 MB / 0.7383 GB, free: 37.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.5435, allocations: 1.392 MB / 0.7397 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.5435, allocations: 3.625 kB / 0.7397 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.5438, allocations: 101.2 kB / 0.7398 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.5438, allocations: 5.25 kB / 0.7398 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.5439, allocations: 16.27 kB / 0.7398 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/0.5439, allocations: 7.938 kB / 0.7398 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.5439, allocations: 12.97 kB / 0.7398 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.5446, allocations: 0.6711 MB / 0.7405 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.5448, allocations: 107.7 kB / 0.7406 GB, free: 36.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.5448, allocations: 16.31 kB / 0.7406 GB, free: 36.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.545, allocations: 15.73 kB / 0.7406 GB, free: 36.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.5451, allocations: 42.83 kB / 0.7406 GB, free: 36.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.5451, allocations: 22.48 kB / 0.7407 GB, free: 36.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003429/0.5455, allocations: 345.7 kB / 0.741 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5455, allocations: 1.031 kB / 0.741 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007622/0.5463, allocations: 201.4 kB / 0.7412 GB, free: 36.05 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.0004665/0.5467, allocations: 204.4 kB / 0.7414 GB, free: 35.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005527/0.5473, allocations: 292.1 kB / 0.7417 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5473, allocations: 3.594 kB / 0.7417 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.5475, allocations: 145.2 kB / 0.7418 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5485, allocations: 341 kB / 0.7421 GB, free: 35.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.5509, allocations: 1.479 MB / 0.7436 GB, free: 35.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.5511, allocations: 207.5 kB / 0.7438 GB, free: 35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005219/0.5516, allocations: 152 kB / 0.7439 GB, free: 34.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5517, allocations: 56.02 kB / 0.744 GB, free: 34.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.873e-06/0.5517, allocations: 0 / 0.744 GB, free: 34.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.01889/0.5706, allocations: 12.05 MB / 0.7557 GB, free: 33.77 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: 4.522093859966844]