Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001111/0.001111, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001741/0.002852, 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.001037/0.001037, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002064/0.003101, 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 1.025/1.025, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09664/1.121, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09897/0.09897, allocations: 17.44 MB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01298/0.1119, allocations: 6.978 MB / 268.6 MB, free: 6.297 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.Definitions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 269.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.343e-05, allocations: 6.25 kB / 269.9 MB, free: 4.98 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:448:5-448: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.1-master/Interfaces.mo:448:5-448: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.01092/0.01095, allocations: 3.231 MB / 273.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2849/0.2958, allocations: 135.4 MB / 408.5 MB, free: 7.23 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.2961, allocations: 7.938 kB / 408.5 MB, free: 7.223 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.2978, allocations: 0.7277 MB / 409.2 MB, free: 6.496 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.3003, allocations: 2.562 MB / 411.8 MB, free: 3.922 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.3018, allocations: 0.6195 MB / 412.4 MB, free: 3.301 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.3042, allocations: 2.023 MB / 414.4 MB, free: 1.273 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3044, allocations: 38.45 kB / 414.5 MB, free: 1.234 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.305, allocations: 498.9 kB / 415 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.3055, allocations: 439.2 kB / 415.4 MB, free: 324 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.3056, allocations: 20 kB / 415.4 MB, free: 304 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.3075, allocations: 0.8612 MB / 416.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3077, allocations: 179.3 kB / 416.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.3079, allocations: 159.5 kB / 416.6 MB, free: 15.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.3097, allocations: 1.437 MB / 418 MB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-05/0.3097, allocations: 0 / 418 MB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3097, allocations: 0 / 418 MB, free: 13.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.3097, allocations: 0 / 418 MB, free: 13.66 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.001351/0.3111, allocations: 1.255 MB / 419.3 MB, free: 12.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3111, allocations: 12.03 kB / 419.3 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.3121, allocations: 0.5439 MB / 419.8 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.3125, allocations: 333.4 kB / 420.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.3125, allocations: 37.3 kB / 420.2 MB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.3125, allocations: 45.69 kB / 420.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.3132, allocations: 0.9489 MB / 421.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3132, allocations: 192 / 421.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.3133, allocations: 24.56 kB / 421.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-05/0.3134, allocations: 81.2 kB / 421.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.3142, allocations: 1.169 MB / 422.5 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.3164, allocations: 2.223 MB / 424.7 MB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.317, allocations: 479.6 kB / 425.2 MB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.3171, allocations: 64.83 kB / 425.2 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/0.3195, allocations: 1.67 MB / 426.9 MB, free: 4.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3195, allocations: 34.56 kB / 426.9 MB, free: 4.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.365e-06/0.3195, allocations: 0 / 426.9 MB, free: 4.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003298/0.3198, allocations: 235.4 kB / 427.2 MB, free: 4.332 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.3199, allocations: 55.41 kB / 427.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.3203, allocations: 0.7486 MB / 428 MB, free: 3.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.3203, allocations: 25.7 kB / 428 MB, free: 3.469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.3205, allocations: 486.9 kB / 428.5 MB, free: 2.984 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.3206, allocations: 103.2 kB / 428.6 MB, free: 2.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.3208, allocations: 270.3 kB / 428.8 MB, free: 2.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3209, allocations: 362.6 kB / 429.2 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.321, allocations: 94.56 kB / 429.3 MB, free: 2.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.3214, allocations: 0.7632 MB / 430 MB, free: 1.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1857/0.5071, allocations: 1.068 MB / 431.1 MB, free: 18.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/0.5071, allocations: 8.844 kB / 431.1 MB, free: 18.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00112/0.5082, allocations: 0.7367 MB / 431.9 MB, free: 18.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.5083, allocations: 16.19 kB / 431.9 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.381e-05/0.5083, allocations: 25.22 kB / 431.9 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.448e-05/0.5084, allocations: 31.66 kB / 431.9 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.5092, allocations: 331.7 kB / 432.2 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-05/0.5093, allocations: 45.78 kB / 432.3 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.5099, allocations: 144.7 kB / 432.4 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.51, allocations: 108.1 kB / 432.5 MB, free: 18.21 MB / 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.0002975/0.5103, allocations: 201.6 kB / 432.7 MB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.5105, allocations: 72.84 kB / 432.8 MB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.5118, allocations: 0.6193 MB / 433.4 MB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5118, allocations: 3.156 kB / 433.4 MB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5118, allocations: 6.609 kB / 433.4 MB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5118, allocations: 2.328 kB / 433.4 MB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.5123, allocations: 274.2 kB / 433.7 MB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5123, allocations: 2.453 kB / 433.7 MB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.5126, allocations: 116.5 kB / 433.8 MB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.513, allocations: 217.7 kB / 434 MB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.5131, allocations: 1.688 kB / 434 MB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.5131, allocations: 21.62 kB / 434.1 MB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5131, allocations: 1.219 kB / 434.1 MB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5131, allocations: 1.094 kB / 434.1 MB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.5135, allocations: 305.2 kB / 434.4 MB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/0.5136, allocations: 5.625 kB / 434.4 MB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.5138, allocations: 10.02 kB / 434.4 MB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.5138, allocations: 27.3 kB / 434.4 MB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.5139, allocations: 69.25 kB / 434.5 MB, free: 17.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004292/0.5144, allocations: 313 kB / 434.8 MB, free: 17.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5144, allocations: 0 / 434.8 MB, free: 17.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000912/0.5153, allocations: 195.8 kB / 435 MB, free: 17.7 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.0004289/0.5157, allocations: 226.9 kB / 435.2 MB, free: 17.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.5167, allocations: 453.1 kB / 435.6 MB, free: 17.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.736e-05/0.5168, allocations: 18.92 kB / 435.6 MB, free: 17.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.5171, allocations: 136 kB / 435.8 MB, free: 17.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.5178, allocations: 0.5956 MB / 436.4 MB, free: 17.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.5223, allocations: 1.118 MB / 437.5 MB, free: 16.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.5224, allocations: 159.5 kB / 437.7 MB, free: 16.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001238/0.5237, allocations: 445.4 kB / 438.1 MB, free: 16.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005796/0.5243, allocations: 257.6 kB / 438.3 MB, free: 16.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5243, allocations: 0.7812 kB / 438.3 MB, free: 16.32 MB / 410.7 MB Notification: Performance of Templates: time 0.01587/0.5401, allocations: 9.441 MB / 447.8 MB, free: 15.23 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions.pipe >> ../files/Chemical_master_Chemical.Examples.Definitions.sim & (cd run_cvode && ../Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] (rm -f Chemical_master_Chemical.Examples.Definitions_dassl.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions_dassl.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Chemical_master_Chemical.Examples.Definitions_dassl.sim & (cd run_dassl && ../Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > Chemical_master_Chemical.Examples.Definitions_dassl.pipe 2>&1) [Timeout 240] (rm -f Chemical_master_Chemical.Examples.Definitions_gbode.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions_gbode.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Chemical_master_Chemical.Examples.Definitions_gbode.sim & (cd run_gbode && ../Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Chemical_master_Chemical.Examples.Definitions_gbode.pipe 2>&1) [Timeout 240] (rm -f Chemical_master_Chemical.Examples.Definitions_ida.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions_ida.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Chemical_master_Chemical.Examples.Definitions_ida.sim & (cd run_ida && ../Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Chemical_master_Chemical.Examples.Definitions_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5217768400907516]