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.001918/0.001918, allocations: 80.73 kB / 19.43 MB, free: 360 kB / 13.93 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.002814/0.002814, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1503/0.1503, allocations: 17.45 MB / 277 MB, free: 11.62 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 2.043e-06/2.043e-06, allocations: 0 / 352.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.831e-05, allocations: 5.125 kB / 352.8 MB, free: 10.22 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.03788/0.03792, allocations: 24.23 MB / 377 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3053/0.3432, allocations: 122.8 MB / 499.8 MB, free: 3.961 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005016/0.3437, allocations: 4 kB / 499.8 MB, free: 3.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.3473, allocations: 0.7173 MB / 0.4888 GB, free: 3.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005968/0.3533, allocations: 2.379 MB / 0.4911 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.3561, allocations: 0.6212 MB / 0.4917 GB, free: 236 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004598/0.3607, allocations: 2.102 MB / 0.4938 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.3608, allocations: 25.97 kB / 0.4938 GB, free: 14.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.3619, allocations: 486.9 kB / 0.4943 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.363, allocations: 491.1 kB / 0.4948 GB, free: 13.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.3631, allocations: 27.94 kB / 0.4948 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.3654, allocations: 0.8417 MB / 0.4956 GB, free: 12.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.3657, allocations: 191.2 kB / 0.4958 GB, free: 12.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.3661, allocations: 179.5 kB / 0.496 GB, free: 11.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.3693, allocations: 1.729 MB / 0.4976 GB, free: 10.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3693, allocations: 0 / 0.4976 GB, free: 10.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3693, allocations: 7.938 kB / 0.4977 GB, free: 10.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.3693, allocations: 4 kB / 0.4977 GB, free: 10.16 MB / 378.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.002292/0.3716, allocations: 1.044 MB / 0.4987 GB, free: 9.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3716, allocations: 12.03 kB / 0.4987 GB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.3729, allocations: 0.575 MB / 0.4993 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006734/0.3736, allocations: 361.4 kB / 0.4996 GB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.3736, allocations: 37.36 kB / 0.4996 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.3737, allocations: 48.38 kB / 0.4997 GB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003228/0.3769, allocations: 2.625 MB / 0.5022 GB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3769, allocations: 192 / 0.5022 GB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.377, allocations: 20.5 kB / 0.5023 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.3771, allocations: 93.2 kB / 0.5023 GB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005283/0.3824, allocations: 4.238 MB / 0.5065 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005265/0.3877, allocations: 3.298 MB / 0.5097 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3888, allocations: 488.9 kB / 0.5102 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.389, allocations: 108.8 kB / 0.5103 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00485/0.3939, allocations: 1.899 MB / 0.5121 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.3939, allocations: 38.56 kB / 0.5122 GB, free: 11.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.3939, allocations: 0 / 0.5122 GB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001346/0.3952, allocations: 482.4 kB / 0.5126 GB, free: 10.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.3953, allocations: 63.28 kB / 0.5127 GB, free: 10.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.3967, allocations: 0.9109 MB / 0.5136 GB, free: 9.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.3967, allocations: 33.7 kB / 0.5136 GB, free: 9.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.3971, allocations: 479 kB / 0.5141 GB, free: 9.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3973, allocations: 111.2 kB / 0.5142 GB, free: 9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004514/0.3977, allocations: 294.4 kB / 0.5145 GB, free: 8.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.398, allocations: 354.8 kB / 0.5148 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.3984, allocations: 234.5 kB / 0.515 GB, free: 8.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.3995, allocations: 0.8882 MB / 0.5159 GB, free: 6.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.4012, allocations: 1.215 MB / 0.5171 GB, free: 5.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.4012, allocations: 8 kB / 0.5171 GB, free: 5.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002132/0.4033, allocations: 1.187 MB / 0.5182 GB, free: 4.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.4034, allocations: 20 kB / 0.5183 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/0.4034, allocations: 24 kB / 0.5183 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-05/0.4035, allocations: 32 kB / 0.5183 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/0.4043, allocations: 303.4 kB / 0.5186 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.463e-05/0.4043, allocations: 43.86 kB / 0.5186 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/0.405, allocations: 139 kB / 0.5188 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.4052, allocations: 132 kB / 0.5189 GB, free: 3.477 MB / 394.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 (H2O_vaporization_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,O2_dissolving_props.definition.data.phase) * 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.0007466/0.406, allocations: 337.1 kB / 0.5192 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.4062, allocations: 107.4 kB / 0.5193 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.4081, allocations: 0.7813 MB / 0.5201 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4081, allocations: 4 kB / 0.5201 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4081, allocations: 3.938 kB / 0.5201 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4081, allocations: 0 / 0.5201 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.4088, allocations: 413 kB / 0.5205 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4088, allocations: 0 / 0.5205 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.4091, allocations: 114.5 kB / 0.5206 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4091, allocations: 0 / 0.5206 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.4092, allocations: 39.98 kB / 0.5206 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4092, allocations: 0 / 0.5206 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4092, allocations: 0 / 0.5206 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/0.41, allocations: 0.499 MB / 0.5211 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.4105, allocations: 253.2 kB / 0.5214 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/0.4106, allocations: 11.98 kB / 0.5214 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.4109, allocations: 8 kB / 0.5214 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.411, allocations: 51.81 kB / 0.5214 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.4111, allocations: 83.98 kB / 0.5215 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007868/0.4119, allocations: 0.5693 MB / 0.5221 GB, free: 176 kB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4119, allocations: 0 / 0.5221 GB, free: 176 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.00103/0.4129, allocations: 199.8 kB / 0.5223 GB, free: 15.97 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.000483/0.4134, allocations: 227.1 kB / 0.5225 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.4145, allocations: 0.5783 MB / 0.523 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4145, allocations: 0 / 0.523 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.4148, allocations: 139.8 kB / 0.5232 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.4154, allocations: 125.2 kB / 0.5233 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.4176, allocations: 1.286 MB / 0.5245 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.4181, allocations: 362.5 kB / 0.5249 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001511/0.4196, allocations: 0.5067 MB / 0.5254 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.42, allocations: 144.3 kB / 0.5255 GB, free: 12.59 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.42, allocations: 0 / 0.5255 GB, free: 12.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01781/0.4378, allocations: 8.595 MB / 0.5339 GB, free: 4.137 MB / 410.7 MB " [Timeout remaining time 660] 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 & ./Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.31782136997208]