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.001448/0.001448, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.001713/0.001713, allocations: 167 kB / 22.46 MB, free: 5.379 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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-531:190: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-531:198: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.266/1.266, allocations: 154.6 MB / 413.7 MB, free: 5.285 MB / 382.1 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.473e-06/1.473e-06, allocations: 0 / 0.6185 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.669e-05, allocations: 4.797 kB / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5187/0.5187, allocations: 165.5 MB / 0.7802 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.537, allocations: 11.99 MB / 0.7919 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.5383, allocations: 45.09 kB / 0.7919 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.5397, allocations: 426.6 kB / 0.7923 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.5428, allocations: 1.231 MB / 0.7935 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.5447, allocations: 0.8011 MB / 0.7943 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.5469, allocations: 2.044 MB / 0.7963 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008754/0.5478, allocations: 0.6244 MB / 0.7969 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.552, allocations: 2.228 MB / 0.7991 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.5533, allocations: 0.6107 MB / 0.7997 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.5535, allocations: 79.44 kB / 0.7998 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.5548, allocations: 0.7375 MB / 0.8005 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004022/0.5552, allocations: 414.6 kB / 0.8009 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.5556, allocations: 353.8 kB / 0.8012 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.5575, allocations: 1.514 MB / 0.8027 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5575, allocations: 0 / 0.8027 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5575, allocations: 0 / 0.8027 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.5575, allocations: 1.969 kB / 0.8027 GB, free: 2.18 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.001792/0.5593, allocations: 1.174 MB / 0.8038 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.5593, allocations: 9.531 kB / 0.8038 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.5605, allocations: 228.1 kB / 0.8041 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.5616, allocations: 0.614 MB / 0.8047 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.5616, allocations: 61.88 kB / 0.8047 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.5617, allocations: 74.69 kB / 0.8048 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.5631, allocations: 1.059 MB / 0.8058 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.5632, allocations: 0 / 0.8058 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.5632, allocations: 34.56 kB / 0.8059 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.5633, allocations: 27.56 kB / 0.8059 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009415/0.5642, allocations: 0.6214 MB / 0.8065 GB, free: 15.51 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.00401/0.5682, allocations: 3.579 MB / 0.81 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.569, allocations: 453.3 kB / 0.8104 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.5693, allocations: 237.1 kB / 0.8106 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.5694, allocations: 27.77 kB / 0.8107 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.5695, allocations: 43.41 kB / 0.8107 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 1.943e-06/0.5695, allocations: 0 / 0.8107 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002776/0.5723, allocations: 1.517 MB / 0.8122 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.5723, allocations: 108.3 kB / 0.8123 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.5729, allocations: 0.5395 MB / 0.8128 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.573, allocations: 40.55 kB / 0.8129 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.5733, allocations: 437.9 kB / 0.8133 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.5735, allocations: 168.2 kB / 0.8134 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.5737, allocations: 122.3 kB / 0.8136 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.5739, allocations: 370.7 kB / 0.8139 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.5742, allocations: 188.8 kB / 0.8141 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/0.5747, allocations: 0.5619 MB / 0.8146 GB, free: 8.891 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.00224/0.577, allocations: 1.099 MB / 0.8157 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.577, allocations: 2.844 kB / 0.8157 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001048/0.578, allocations: 0.6606 MB / 0.8164 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5781, allocations: 5.906 kB / 0.8164 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5781, allocations: 7.438 kB / 0.8164 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.5781, allocations: 11.12 kB / 0.8164 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.5785, allocations: 130.7 kB / 0.8165 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.5785, allocations: 15.88 kB / 0.8165 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.579, allocations: 35.59 kB / 0.8166 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.5791, allocations: 31.77 kB / 0.8166 GB, free: 7.781 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.0003957/0.5795, allocations: 274.3 kB / 0.8168 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.5796, allocations: 67.3 kB / 0.8169 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.5798, allocations: 76.84 kB / 0.817 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.5798, allocations: 5.344 kB / 0.817 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5798, allocations: 2.938 kB / 0.817 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007923/0.5806, allocations: 0.714 MB / 0.8177 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.583, allocations: 1.443 MB / 0.8191 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.583, allocations: 9.906 kB / 0.8191 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.5834, allocations: 100.7 kB / 0.8192 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.5834, allocations: 5.656 kB / 0.8192 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.5835, allocations: 11.59 kB / 0.8192 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.5835, allocations: 13.77 kB / 0.8192 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5835, allocations: 5.219 kB / 0.8192 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.5847, allocations: 0.8414 MB / 0.8201 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.5849, allocations: 111.6 kB / 0.8202 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.585, allocations: 13.06 kB / 0.8202 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.5854, allocations: 23.98 kB / 0.8202 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.5855, allocations: 39.83 kB / 0.8202 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.5855, allocations: 23.98 kB / 0.8203 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005354/0.5861, allocations: 362.8 kB / 0.8206 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.5861, allocations: 0 / 0.8206 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009315/0.587, allocations: 195.9 kB / 0.8208 GB, free: 4.172 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.0005443/0.5875, allocations: 197.5 kB / 0.821 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007964/0.5883, allocations: 455.3 kB / 0.8214 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5883, allocations: 0 / 0.8214 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.5886, allocations: 210.2 kB / 0.8216 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.5902, allocations: 332.7 kB / 0.8219 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.593, allocations: 1.562 MB / 0.8235 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.5934, allocations: 436.2 kB / 0.8239 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005791/0.594, allocations: 177.2 kB / 0.824 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.5942, allocations: 56.5 kB / 0.8241 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of SimCode: time 7.22e-07/0.5942, allocations: 0 / 0.8241 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of Templates: time 0.02363/0.6178, allocations: 11.81 MB / 0.8356 GB, free: 5.258 MB / 0.67 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.809588976204395] Failed to read output from testmodel.py, exit status != 0: 0.6266561485826969 0.640860455 0.08024763600000001 Calling exit ...