Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Definitions.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.0006306/0.0006306, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008366/0.001467, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0006611/0.0006611, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009374/0.001598, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9758/0.9758, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08208/1.058, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.0938/0.0938, allocations: 17.36 MB / 261.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02437/0.1182, allocations: 6.937 MB / 268.5 MB, free: 6.418 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 269.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.778e-05, allocations: 2.312 kB / 269.8 MB, free: 5.102 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.Definitions): time 0.01551/0.01552, allocations: 3.14 MB / 272.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2633/0.2789, allocations: 134.7 MB / 407.6 MB, free: 8.141 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.2792, allocations: 7.938 kB / 407.6 MB, free: 8.133 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.2809, allocations: 0.6812 MB / 408.3 MB, free: 7.453 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.2831, allocations: 2.118 MB / 410.4 MB, free: 5.324 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.2846, allocations: 0.5247 MB / 410.9 MB, free: 4.797 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.2869, allocations: 1.939 MB / 412.9 MB, free: 2.855 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.287, allocations: 38.45 kB / 412.9 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.2875, allocations: 471 kB / 413.4 MB, free: 2.355 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.288, allocations: 403.2 kB / 413.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.288, allocations: 20 kB / 413.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.2895, allocations: 0.7057 MB / 414.5 MB, free: 1.234 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2896, allocations: 135.4 kB / 414.6 MB, free: 1.102 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.2897, allocations: 143.4 kB / 414.8 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.2913, allocations: 1.363 MB / 416.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.037e-05/0.2913, allocations: 0 / 416.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2913, allocations: 4 kB / 416.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.2913, allocations: 0 / 416.1 MB, free: 15.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001223/0.2925, allocations: 1.212 MB / 417.3 MB, free: 14.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2926, allocations: 8.031 kB / 417.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006395/0.2932, allocations: 0.5284 MB / 417.9 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.2936, allocations: 333.3 kB / 418.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.2936, allocations: 37.38 kB / 418.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.2936, allocations: 48.3 kB / 418.3 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.2943, allocations: 0.9483 MB / 419.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2944, allocations: 192 / 419.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.2944, allocations: 24.55 kB / 419.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/0.2945, allocations: 81.2 kB / 419.3 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008421/0.2953, allocations: 1.169 MB / 420.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.2973, allocations: 2.22 MB / 422.7 MB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.2979, allocations: 475.9 kB / 423.2 MB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.298, allocations: 64.83 kB / 423.3 MB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002052/0.3001, allocations: 1.664 MB / 424.9 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3001, allocations: 34.56 kB / 425 MB, free: 6.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.023e-06/0.3001, allocations: 0 / 425 MB, free: 6.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.000323/0.3004, allocations: 218.1 kB / 425.2 MB, free: 6.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.3005, allocations: 55.41 kB / 425.2 MB, free: 6.285 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.3009, allocations: 0.7409 MB / 426 MB, free: 5.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.301, allocations: 25.7 kB / 426 MB, free: 5.496 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.3012, allocations: 475 kB / 426.5 MB, free: 5.023 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.3012, allocations: 107.2 kB / 426.6 MB, free: 4.918 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.3015, allocations: 266.4 kB / 426.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3016, allocations: 358.7 kB / 427.2 MB, free: 4.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/0.3017, allocations: 94.56 kB / 427.3 MB, free: 4.203 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.3021, allocations: 0.7594 MB / 428 MB, free: 3.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/0.3028, allocations: 1.081 MB / 429.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.3028, allocations: 11.94 kB / 429.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0006945/0.3035, allocations: 0.7277 MB / 429.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3035, allocations: 17 kB / 429.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.3035, allocations: 24 kB / 429.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.3035, allocations: 36 kB / 429.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.304, allocations: 323.5 kB / 430.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.3041, allocations: 51.78 kB / 430.3 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.3044, allocations: 150.9 kB / 430.4 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.855e-05/0.3045, allocations: 104 kB / 430.5 MB, free: 264 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (O2_dissolving_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_vaporization_props.definition.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * 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.0001793/0.3046, allocations: 205.9 kB / 430.7 MB, free: 48 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1937/0.4984, allocations: 49.7 kB / 430.8 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.4995, allocations: 0.6194 MB / 431.4 MB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4995, allocations: 3.281 kB / 431.4 MB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.4995, allocations: 2.406 kB / 431.4 MB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4995, allocations: 4.359 kB / 431.4 MB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.5, allocations: 267.8 kB / 431.7 MB, free: 19.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5, allocations: 0.75 kB / 431.7 MB, free: 19.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.5003, allocations: 120 kB / 431.8 MB, free: 19.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.5006, allocations: 210.6 kB / 432 MB, free: 19.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.5006, allocations: 2.859 kB / 432 MB, free: 19.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.5006, allocations: 19.31 kB / 432 MB, free: 19.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5006, allocations: 2.406 kB / 432 MB, free: 19.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5006, allocations: 4 kB / 432 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.501, allocations: 283.9 kB / 432.3 MB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.501, allocations: 6.484 kB / 432.3 MB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.5011, allocations: 9 kB / 432.3 MB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.5012, allocations: 34.7 kB / 432.4 MB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.5013, allocations: 69.7 kB / 432.4 MB, free: 19.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.5016, allocations: 314.2 kB / 432.7 MB, free: 19.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5016, allocations: 0 / 432.7 MB, free: 19.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007296/0.5024, allocations: 180.6 kB / 432.9 MB, free: 19.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (25): * Single equations (assignments): 25 * 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.0003994/0.5028, allocations: 217.4 kB / 433.1 MB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008639/0.5036, allocations: 451.1 kB / 433.6 MB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.434e-05/0.5037, allocations: 17.66 kB / 433.6 MB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.5039, allocations: 138.1 kB / 433.7 MB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.5044, allocations: 0.574 MB / 434.3 MB, free: 19.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.5078, allocations: 1.114 MB / 435.4 MB, free: 18.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.5079, allocations: 161.7 kB / 435.6 MB, free: 18.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009177/0.5088, allocations: 443.7 kB / 436 MB, free: 18.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.5093, allocations: 256.4 kB / 436.2 MB, free: 18.14 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5093, allocations: 0.875 kB / 436.2 MB, free: 18.14 MB / 410.7 MB Notification: Performance of Templates: time 0.01328/0.5226, allocations: 9.426 MB / 445.7 MB, free: 17.08 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions.pipe >> ../files/Chemical_Chemical.Examples.Definitions.sim & (cd run_cvode && ../Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] (rm -f Chemical_Chemical.Examples.Definitions_dassl.pipe ; mkfifo Chemical_Chemical.Examples.Definitions_dassl.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Chemical_Chemical.Examples.Definitions_dassl.sim & (cd run_dassl && ../Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > Chemical_Chemical.Examples.Definitions_dassl.pipe 2>&1) [Timeout 240] (rm -f Chemical_Chemical.Examples.Definitions_gbode.pipe ; mkfifo Chemical_Chemical.Examples.Definitions_gbode.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Chemical_Chemical.Examples.Definitions_gbode.sim & (cd run_gbode && ../Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Chemical_Chemical.Examples.Definitions_gbode.pipe 2>&1) [Timeout 240] (rm -f Chemical_Chemical.Examples.Definitions_ida.pipe ; mkfifo Chemical_Chemical.Examples.Definitions_ida.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Chemical_Chemical.Examples.Definitions_ida.sim & (cd run_ida && ../Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Chemical_Chemical.Examples.Definitions_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4721208829432726]