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.0009896/0.0009896, allocations: 92.22 kB / 19.65 MB, free: 276 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.001035/0.001035, allocations: 169 kB / 23.02 MB, free: 1.547 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.09658/0.09658, allocations: 17.46 MB / 277.4 MB, free: 11.55 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 1.803e-06/1.803e-06, allocations: 0 / 353.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.561e-05, allocations: 2.312 kB / 353.6 MB, free: 10.88 MB / 330.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.02653/0.02656, allocations: 26.82 MB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.2786/0.3052, allocations: 135.4 MB / 0.5037 GB, free: 42.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.3055, allocations: 10.31 kB / 0.5037 GB, free: 42.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.3073, allocations: 0.715 MB / 0.5044 GB, free: 42.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.3101, allocations: 2.555 MB / 0.5069 GB, free: 40.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3117, allocations: 0.6182 MB / 0.5075 GB, free: 40.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00251/0.3142, allocations: 2.168 MB / 0.5096 GB, free: 39.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.3143, allocations: 31.94 kB / 0.5097 GB, free: 39.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.3147, allocations: 0.4922 MB / 0.5101 GB, free: 39.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.3153, allocations: 483.9 kB / 0.5106 GB, free: 39.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.3153, allocations: 24.41 kB / 0.5106 GB, free: 39.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3169, allocations: 0.8442 MB / 0.5114 GB, free: 38.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3171, allocations: 187.7 kB / 0.5116 GB, free: 38.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.3172, allocations: 191.1 kB / 0.5118 GB, free: 38.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.3188, allocations: 1.574 MB / 0.5133 GB, free: 38.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3188, allocations: 3.938 kB / 0.5133 GB, free: 38.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3188, allocations: 4 kB / 0.5134 GB, free: 38.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.3188, allocations: 0 / 0.5134 GB, free: 38.02 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.001076/0.3199, allocations: 1.21 MB / 0.5145 GB, free: 37.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3199, allocations: 8.719 kB / 0.5145 GB, free: 37.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006436/0.3206, allocations: 0.5674 MB / 0.5151 GB, free: 36.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.3209, allocations: 372.5 kB / 0.5154 GB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.3209, allocations: 38.47 kB / 0.5155 GB, free: 36.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.321, allocations: 44.12 kB / 0.5155 GB, free: 36.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.3218, allocations: 1.127 MB / 0.5166 GB, free: 36.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3218, allocations: 192 / 0.5166 GB, free: 36.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.3218, allocations: 15.88 kB / 0.5166 GB, free: 36.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.656e-05/0.3219, allocations: 95.2 kB / 0.5167 GB, free: 36.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.323, allocations: 1.442 MB / 0.5181 GB, free: 35.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.3251, allocations: 2.9 MB / 0.521 GB, free: 34.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.3257, allocations: 0.6039 MB / 0.5216 GB, free: 34.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3258, allocations: 94.22 kB / 0.5217 GB, free: 34.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001982/0.3278, allocations: 1.91 MB / 0.5235 GB, free: 33.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.3278, allocations: 39.95 kB / 0.5236 GB, free: 33.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.3278, allocations: 0 / 0.5236 GB, free: 33.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004877/0.3283, allocations: 427 kB / 0.524 GB, free: 33.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.3283, allocations: 58.28 kB / 0.524 GB, free: 33.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00065/0.329, allocations: 1.021 MB / 0.525 GB, free: 32.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.329, allocations: 36.7 kB / 0.5251 GB, free: 32.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3292, allocations: 0.5448 MB / 0.5256 GB, free: 32.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.3292, allocations: 107.6 kB / 0.5257 GB, free: 31.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.3294, allocations: 333.6 kB / 0.526 GB, free: 31.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.501e-05/0.3295, allocations: 0.5507 MB / 0.5265 GB, free: 31.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.3297, allocations: 133.7 kB / 0.5267 GB, free: 31.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.33, allocations: 1.111 MB / 0.5278 GB, free: 29.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.3307, allocations: 1.382 MB / 0.5291 GB, free: 28.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.3307, allocations: 8.344 kB / 0.5291 GB, free: 28.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0008946/0.3316, allocations: 0.9905 MB / 0.5301 GB, free: 28.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3316, allocations: 15.59 kB / 0.5301 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.3316, allocations: 25.75 kB / 0.5301 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/0.3316, allocations: 32.94 kB / 0.5302 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.332, allocations: 304.9 kB / 0.5304 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.3321, allocations: 47.55 kB / 0.5305 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.3324, allocations: 136.3 kB / 0.5306 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.3325, allocations: 128.8 kB / 0.5307 GB, free: 27.87 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 (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.000165/0.3326, allocations: 244 kB / 0.531 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.3327, allocations: 109.6 kB / 0.5311 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009112/0.3336, allocations: 0.729 MB / 0.5318 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3337, allocations: 6.812 kB / 0.5318 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3337, allocations: 7.438 kB / 0.5318 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3337, allocations: 2.578 kB / 0.5318 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.3341, allocations: 0.5404 MB / 0.5323 GB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3341, allocations: 0 / 0.5323 GB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.3342, allocations: 109.2 kB / 0.5324 GB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3342, allocations: 3.094 kB / 0.5324 GB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.3343, allocations: 29.27 kB / 0.5325 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3343, allocations: 2.625 kB / 0.5325 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3343, allocations: 2.656 kB / 0.5325 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.3346, allocations: 0.5129 MB / 0.533 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.3349, allocations: 251.6 kB / 0.5332 GB, free: 26.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.3349, allocations: 5.766 kB / 0.5332 GB, free: 26.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.335, allocations: 6.938 kB / 0.5332 GB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.3351, allocations: 52.27 kB / 0.5333 GB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.3351, allocations: 83.73 kB / 0.5334 GB, free: 26.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003082/0.3354, allocations: 0.5053 MB / 0.5339 GB, free: 26.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3354, allocations: 3.938 kB / 0.5339 GB, free: 26.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005625/0.336, allocations: 201.8 kB / 0.534 GB, free: 26.26 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.0002918/0.3363, allocations: 223.7 kB / 0.5343 GB, free: 26.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005005/0.3368, allocations: 0.5328 MB / 0.5348 GB, free: 25.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3368, allocations: 0 / 0.5348 GB, free: 25.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3369, allocations: 141 kB / 0.5349 GB, free: 25.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.3373, allocations: 115.6 kB / 0.535 GB, free: 25.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.3385, allocations: 1.154 MB / 0.5362 GB, free: 24.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.026e-05/0.3386, allocations: 155.9 kB / 0.5363 GB, free: 24.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007988/0.3394, allocations: 0.4977 MB / 0.5368 GB, free: 23.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.3396, allocations: 145.8 kB / 0.5369 GB, free: 23.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3396, allocations: 0 / 0.5369 GB, free: 23.68 MB / 410.7 MB Notification: Performance of Templates: time 0.00905/0.3487, allocations: 8.626 MB / 0.5453 GB, free: 15.52 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=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4930527368560433]