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.0009051/0.0009051, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008365/0.0008365, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8732/0.8732, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-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 0.6762/0.6762, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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 2.094e-06/2.094e-06, allocations: 0 / 0.6194 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.71e-05, allocations: 5.781 kB / 0.6194 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4293/0.4294, allocations: 165.5 MB / 0.781 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.4413, allocations: 11.99 MB / 0.7927 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.4426, allocations: 49.06 kB / 0.7927 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.4438, allocations: 427 kB / 0.7931 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.4461, allocations: 1.225 MB / 0.7943 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.4475, allocations: 0.7939 MB / 0.7951 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001679/0.4492, allocations: 2.045 MB / 0.7971 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006427/0.4498, allocations: 0.6286 MB / 0.7977 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.4528, allocations: 2.223 MB / 0.7999 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009504/0.4537, allocations: 0.6212 MB / 0.8005 GB, free: 428 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.4538, allocations: 80.12 kB / 0.8006 GB, free: 428 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.4549, allocations: 0.7333 MB / 0.8013 GB, free: 168 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.4552, allocations: 422 kB / 0.8017 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.4554, allocations: 348.5 kB / 0.802 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.4568, allocations: 1.512 MB / 0.8035 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4568, allocations: 0 / 0.8035 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4568, allocations: 0 / 0.8035 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4568, allocations: 0 / 0.8035 GB, free: 15.22 MB / 0.6667 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.0012/0.458, allocations: 1.175 MB / 0.8046 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.458, allocations: 7.969 kB / 0.8047 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006601/0.4587, allocations: 232.1 kB / 0.8049 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007277/0.4594, allocations: 0.6059 MB / 0.8055 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.4594, allocations: 55.91 kB / 0.8055 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.4595, allocations: 84.75 kB / 0.8056 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/0.4604, allocations: 1.067 MB / 0.8066 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4604, allocations: 0 / 0.8066 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.4605, allocations: 34.31 kB / 0.8067 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.4605, allocations: 31.8 kB / 0.8067 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/0.4612, allocations: 0.61 MB / 0.8073 GB, free: 12.55 MB / 0.6667 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.002428/0.4636, allocations: 3.585 MB / 0.8108 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/0.4642, allocations: 454.6 kB / 0.8112 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.4645, allocations: 226.3 kB / 0.8115 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-05/0.4646, allocations: 26.67 kB / 0.8115 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4646, allocations: 53.16 kB / 0.8115 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.4646, allocations: 0 / 0.8115 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001674/0.4663, allocations: 1.522 MB / 0.813 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.4663, allocations: 108.4 kB / 0.8131 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.4667, allocations: 0.5396 MB / 0.8136 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.4667, allocations: 36.7 kB / 0.8137 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.4669, allocations: 446.1 kB / 0.8141 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.33e-05/0.467, allocations: 168.5 kB / 0.8143 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4671, allocations: 116.9 kB / 0.8144 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4672, allocations: 372.2 kB / 0.8147 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.4674, allocations: 185 kB / 0.8149 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.4677, allocations: 0.5576 MB / 0.8155 GB, free: 5.934 MB / 0.6667 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.001569/0.4693, allocations: 1.112 MB / 0.8165 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4693, allocations: 3.188 kB / 0.8165 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006023/0.4699, allocations: 0.6585 MB / 0.8172 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4699, allocations: 10.28 kB / 0.8172 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.4699, allocations: 7.281 kB / 0.8172 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.47, allocations: 10.78 kB / 0.8172 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.4702, allocations: 121.9 kB / 0.8173 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.4702, allocations: 16.34 kB / 0.8173 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.4704, allocations: 40.19 kB / 0.8174 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.4705, allocations: 25 kB / 0.8174 GB, free: 4.824 MB / 0.6667 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.0002307/0.4707, allocations: 272.7 kB / 0.8177 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.4708, allocations: 71.02 kB / 0.8177 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.4709, allocations: 81.58 kB / 0.8178 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4709, allocations: 5.188 kB / 0.8178 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.4709, allocations: 2.281 kB / 0.8178 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004468/0.4713, allocations: 0.7061 MB / 0.8185 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.4726, allocations: 1.432 MB / 0.8199 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4726, allocations: 5.469 kB / 0.8199 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.4729, allocations: 104.9 kB / 0.82 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.4729, allocations: 9.281 kB / 0.82 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.4729, allocations: 11.81 kB / 0.82 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.4729, allocations: 9.281 kB / 0.82 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.4729, allocations: 5.125 kB / 0.82 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.4736, allocations: 0.8423 MB / 0.8209 GB, free: 2.242 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.4737, allocations: 105.1 kB / 0.821 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.4738, allocations: 24.17 kB / 0.821 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.474, allocations: 18.5 kB / 0.821 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.474, allocations: 45.19 kB / 0.8211 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.474, allocations: 24.11 kB / 0.8211 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002458/0.4743, allocations: 362.7 kB / 0.8214 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.4743, allocations: 0 / 0.8214 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004334/0.4747, allocations: 199.5 kB / 0.8216 GB, free: 1.879 MB / 0.6667 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.0003302/0.475, allocations: 182.6 kB / 0.8218 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.4755, allocations: 461.3 kB / 0.8222 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4755, allocations: 0 / 0.8222 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.4757, allocations: 203.7 kB / 0.8224 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/0.4765, allocations: 332.6 kB / 0.8227 GB, free: 1.309 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.4781, allocations: 1.623 MB / 0.8243 GB, free: 200 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.4785, allocations: 435.6 kB / 0.8247 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4786, allocations: 64.2 kB / 0.8248 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/0.4786, allocations: 0 / 0.8248 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.0103/0.4889, allocations: 11.55 MB / 0.8361 GB, free: 4.703 MB / 0.6823 GB " [Timeout remaining time 660] 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.8253253903239965] Failed to read output from testmodel.py, exit status != 0: 0.49474485218524933 0.502855885 0.044430147 Calling exit ...