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.0006682/0.0006682, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008895/0.001558, allocations: 440 kB / 10.41 MB, free: 280 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.0006841/0.0006841, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009753/0.001659, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.03/1.03, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09628/1.127, 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.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.09172/0.09172, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0116/0.1033, allocations: 6.937 MB / 268.4 MB, free: 6.402 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.773e-06/1.773e-06, allocations: 3.938 kB / 269.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.341e-05, allocations: 2.312 kB / 269.8 MB, free: 5.094 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.01432/0.01434, allocations: 3.147 MB / 272.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2841/0.2984, allocations: 134.7 MB / 407.6 MB, free: 8.133 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.2986, allocations: 11.94 kB / 407.6 MB, free: 8.121 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.3001, allocations: 0.6733 MB / 408.3 MB, free: 7.449 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.302, allocations: 2.119 MB / 410.4 MB, free: 5.32 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009677/0.303, allocations: 0.5251 MB / 410.9 MB, free: 4.793 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.305, allocations: 1.943 MB / 412.9 MB, free: 2.848 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.845e-05/0.3051, allocations: 34.47 kB / 412.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.3055, allocations: 467 kB / 413.4 MB, free: 2.355 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.3059, allocations: 399.2 kB / 413.7 MB, free: 1.965 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.3059, allocations: 20 kB / 413.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.3069, allocations: 0.7095 MB / 414.5 MB, free: 1.234 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.307, allocations: 139.4 kB / 414.6 MB, free: 1.098 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.3071, allocations: 143.4 kB / 414.8 MB, free: 0.957 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.3082, allocations: 1.355 MB / 416.1 MB, free: 15.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.3083, allocations: 0 / 416.1 MB, free: 15.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3083, allocations: 4 kB / 416.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.3083, 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.001089/0.3094, allocations: 1.216 MB / 417.3 MB, free: 14.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.3094, allocations: 8.031 kB / 417.3 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005927/0.31, allocations: 0.5283 MB / 417.9 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.3103, allocations: 337.3 kB / 418.2 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.3103, allocations: 33.36 kB / 418.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.3104, allocations: 44.38 kB / 418.3 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.311, allocations: 0.9489 MB / 419.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3111, allocations: 192 / 419.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.3111, allocations: 20.56 kB / 419.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.941e-05/0.3112, allocations: 89.19 kB / 419.3 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007868/0.3119, allocations: 1.173 MB / 420.5 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3138, allocations: 2.213 MB / 422.7 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.3143, allocations: 471.9 kB / 423.2 MB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.3144, allocations: 60.83 kB / 423.2 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.3162, allocations: 1.675 MB / 424.9 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3163, allocations: 30.56 kB / 424.9 MB, free: 6.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.253e-06/0.3163, allocations: 0 / 424.9 MB, free: 6.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002914/0.3166, allocations: 218.1 kB / 425.1 MB, free: 6.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.3166, allocations: 55.34 kB / 425.2 MB, free: 6.289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.317, allocations: 0.7448 MB / 425.9 MB, free: 5.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.317, allocations: 33.7 kB / 426 MB, free: 5.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.3172, allocations: 467.1 kB / 426.4 MB, free: 5.023 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.3173, allocations: 107.2 kB / 426.5 MB, free: 4.918 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.3175, allocations: 270.4 kB / 426.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.3176, allocations: 362.7 kB / 427.2 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.3177, allocations: 90.56 kB / 427.2 MB, free: 4.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.318, allocations: 0.7594 MB / 428 MB, free: 3.105 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000716/0.3188, allocations: 1.077 MB / 429.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.3188, allocations: 8 kB / 429.1 MB, free: 1.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0006743/0.3194, allocations: 0.7284 MB / 429.8 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3195, allocations: 16 kB / 429.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.3195, allocations: 24 kB / 429.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.3195, allocations: 32 kB / 429.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.32, allocations: 331.5 kB / 430.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.32, allocations: 47.8 kB / 430.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.3203, allocations: 142.9 kB / 430.4 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/0.3204, allocations: 108.3 kB / 430.5 MB, free: 272 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.000193/0.3206, allocations: 204.9 kB / 430.7 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.3207, allocations: 55.94 kB / 430.8 MB, free: 0 / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1811/0.5018, allocations: 0.5696 MB / 431.3 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5018, allocations: 2.688 kB / 431.3 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.5018, allocations: 0 / 431.3 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5018, allocations: 7.75 kB / 431.3 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.5023, allocations: 266.3 kB / 431.6 MB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5023, allocations: 1.516 kB / 431.6 MB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.5027, allocations: 118.4 kB / 431.7 MB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.503, allocations: 211.9 kB / 431.9 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.503, allocations: 1.594 kB / 431.9 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.5031, allocations: 21.62 kB / 431.9 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.5031, allocations: 4.219 kB / 432 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5031, allocations: 0 / 432 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.5035, allocations: 287.5 kB / 432.2 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.5035, allocations: 6.828 kB / 432.2 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5036, allocations: 12.22 kB / 432.3 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.5037, allocations: 27.27 kB / 432.3 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.165e-05/0.5038, allocations: 70.19 kB / 432.3 MB, free: 19.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003632/0.5042, allocations: 309.6 kB / 432.6 MB, free: 19.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5042, allocations: 0.8125 kB / 432.7 MB, free: 19.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007759/0.5049, allocations: 180.9 kB / 432.8 MB, free: 19.62 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.0003663/0.5053, allocations: 225.4 kB / 433 MB, free: 19.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006042/0.5059, allocations: 456.7 kB / 433.5 MB, free: 19.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.989e-05/0.5059, allocations: 19.55 kB / 433.5 MB, free: 19.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.5061, allocations: 123.4 kB / 433.6 MB, free: 19.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.5068, allocations: 0.5707 MB / 434.2 MB, free: 19.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.5102, allocations: 1.113 MB / 435.3 MB, free: 18.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.5103, allocations: 159.9 kB / 435.5 MB, free: 18.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009193/0.5113, allocations: 444.2 kB / 435.9 MB, free: 18.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.5118, allocations: 258.6 kB / 436.2 MB, free: 18.25 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5118, allocations: 1.031 kB / 436.2 MB, free: 18.25 MB / 410.7 MB Notification: Performance of Templates: time 0.01342/0.5252, allocations: 9.44 MB / 445.6 MB, free: 17.17 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 & ./Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3603348871693015]