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.001301/0.001301, allocations: 79.28 kB / 19.18 MB, free: 2.52 MB / 14.72 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.00141/0.00141, allocations: 167.4 kB / 22.46 MB, free: 5.371 MB / 14.72 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.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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-531:686: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-531:694: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.205/1.205, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 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.333e-06/1.333e-06, allocations: 0 / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.143e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5629/0.5629, allocations: 165.5 MB / 0.7802 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.5796, allocations: 11.99 MB / 0.7919 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.5809, allocations: 45.5 kB / 0.792 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.5825, allocations: 430 kB / 0.7924 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.5857, allocations: 1.231 MB / 0.7936 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.5876, allocations: 0.7932 MB / 0.7944 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002501/0.5901, allocations: 2.043 MB / 0.7964 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.5912, allocations: 0.6288 MB / 0.797 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004714/0.5959, allocations: 2.225 MB / 0.7991 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.5977, allocations: 0.6019 MB / 0.7997 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.5979, allocations: 79.72 kB / 0.7998 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.5998, allocations: 0.7397 MB / 0.8005 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006007/0.6004, allocations: 416 kB / 0.8009 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007418/0.6011, allocations: 357.7 kB / 0.8013 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.6033, allocations: 1.513 MB / 0.8027 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6033, allocations: 0 / 0.8027 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6033, allocations: 4 kB / 0.8027 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.6034, allocations: 0 / 0.8027 GB, free: 2.102 MB / 0.6387 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.001951/0.6053, allocations: 1.169 MB / 0.8039 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.6054, allocations: 10.69 kB / 0.8039 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.6066, allocations: 233 kB / 0.8041 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.6077, allocations: 0.6114 MB / 0.8047 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.6078, allocations: 58.31 kB / 0.8048 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.6079, allocations: 78.16 kB / 0.8048 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.6094, allocations: 1.063 MB / 0.8059 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.6094, allocations: 10.64 kB / 0.8059 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/0.6095, allocations: 28.31 kB / 0.8059 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.6096, allocations: 32.66 kB / 0.806 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009423/0.6105, allocations: 0.612 MB / 0.8065 GB, free: 15.43 MB / 0.6544 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.004019/0.6145, allocations: 3.58 MB / 0.81 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.6153, allocations: 445.9 kB / 0.8105 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.6156, allocations: 242.5 kB / 0.8107 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.6157, allocations: 22.73 kB / 0.8107 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.6158, allocations: 46.3 kB / 0.8108 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.6158, allocations: 0 / 0.8108 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.00266/0.6184, allocations: 1.521 MB / 0.8123 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.6185, allocations: 111.2 kB / 0.8124 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005905/0.6191, allocations: 0.5363 MB / 0.8129 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.6192, allocations: 38.64 kB / 0.8129 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.6195, allocations: 437.4 kB / 0.8133 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.6197, allocations: 167.2 kB / 0.8135 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.6198, allocations: 117.2 kB / 0.8136 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.62, allocations: 378.5 kB / 0.814 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.6203, allocations: 185.6 kB / 0.8141 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.6209, allocations: 0.5578 MB / 0.8147 GB, free: 8.824 MB / 0.6544 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.002241/0.6231, allocations: 1.118 MB / 0.8158 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6231, allocations: 2.656 kB / 0.8158 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001096/0.6242, allocations: 0.6541 MB / 0.8164 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6242, allocations: 8.406 kB / 0.8164 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.6243, allocations: 10.94 kB / 0.8164 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.6243, allocations: 8 kB / 0.8164 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.6248, allocations: 126.7 kB / 0.8166 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/0.6248, allocations: 21.89 kB / 0.8166 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.6253, allocations: 28.45 kB / 0.8166 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.6254, allocations: 28.25 kB / 0.8166 GB, free: 7.707 MB / 0.6544 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.0004422/0.6258, allocations: 272.8 kB / 0.8169 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.626, allocations: 72.28 kB / 0.817 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.6261, allocations: 78.81 kB / 0.817 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.6261, allocations: 5.938 kB / 0.8171 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.6261, allocations: 0 / 0.8171 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008358/0.627, allocations: 0.7074 MB / 0.8177 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.6294, allocations: 1.439 MB / 0.8192 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6294, allocations: 6.656 kB / 0.8192 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.6298, allocations: 105.2 kB / 0.8193 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6298, allocations: 5.281 kB / 0.8193 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.6298, allocations: 11.84 kB / 0.8193 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.6299, allocations: 8.656 kB / 0.8193 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6299, allocations: 6.844 kB / 0.8193 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.631, allocations: 0.8479 MB / 0.8201 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.6313, allocations: 111.6 kB / 0.8202 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.6313, allocations: 19.98 kB / 0.8202 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.6318, allocations: 12 kB / 0.8203 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.6318, allocations: 47.81 kB / 0.8203 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.6319, allocations: 16 kB / 0.8203 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004367/0.6323, allocations: 362.8 kB / 0.8207 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.6323, allocations: 0 / 0.8207 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007181/0.633, allocations: 203.9 kB / 0.8209 GB, free: 4.082 MB / 0.6544 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.0004413/0.6335, allocations: 189.5 kB / 0.821 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007951/0.6343, allocations: 457.5 kB / 0.8215 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6343, allocations: 0 / 0.8215 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.6346, allocations: 204.5 kB / 0.8217 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.6362, allocations: 341.3 kB / 0.822 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.6387, allocations: 1.559 MB / 0.8235 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.6392, allocations: 444.1 kB / 0.8239 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004944/0.6397, allocations: 165.3 kB / 0.8241 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.6398, allocations: 56.48 kB / 0.8241 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.6398, allocations: 0 / 0.8241 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of Templates: time 0.02236/0.6622, allocations: 11.82 MB / 0.8357 GB, free: 5.188 MB / 0.67 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.7040072456002235] Failed to read output from testmodel.py, exit status != 0: 0.6714602634310722 0.687563654 0.081101748 Calling exit ...