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.0006486/0.0006486, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000745/0.000745, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8583/0.8583, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.08377/0.08377, allocations: 17.37 MB / 277.3 MB, free: 11.85 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.904e-06/1.904e-06, allocations: 0 / 412.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.19e-05, allocations: 10.22 kB / 412.7 MB, free: 15.9 MB / 394.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.03267/0.0327, allocations: 23.9 MB / 436.6 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2664/0.2991, allocations: 122.1 MB / 0.5457 GB, free: 1.336 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.2993, allocations: 4 kB / 0.5457 GB, free: 1.332 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.3007, allocations: 0.6678 MB / 0.5463 GB, free: 0.668 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.3027, allocations: 1.927 MB / 0.5482 GB, free: 14.73 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.3036, allocations: 0.5257 MB / 0.5487 GB, free: 14.21 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002381/0.306, allocations: 2.033 MB / 0.5507 GB, free: 12.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.306, allocations: 25.97 kB / 0.5507 GB, free: 12.16 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.3064, allocations: 463 kB / 0.5512 GB, free: 11.7 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.3068, allocations: 447.2 kB / 0.5516 GB, free: 11.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.3068, allocations: 24 kB / 0.5516 GB, free: 11.24 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008782/0.3077, allocations: 0.6938 MB / 0.5523 GB, free: 10.55 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.3078, allocations: 154.6 kB / 0.5524 GB, free: 10.4 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3079, allocations: 171.4 kB / 0.5526 GB, free: 10.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.3092, allocations: 1.655 MB / 0.5542 GB, free: 8.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3092, allocations: 0 / 0.5542 GB, free: 8.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3092, allocations: 0 / 0.5542 GB, free: 8.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3092, allocations: 4 kB / 0.5542 GB, free: 8.566 MB / 442.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.001006/0.3102, allocations: 1.018 MB / 0.5552 GB, free: 7.516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3102, allocations: 8.031 kB / 0.5552 GB, free: 7.508 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.3106, allocations: 285.6 kB / 0.5555 GB, free: 7.234 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.311, allocations: 365.3 kB / 0.5558 GB, free: 6.848 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.311, allocations: 41.36 kB / 0.5559 GB, free: 6.809 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.311, allocations: 40.38 kB / 0.5559 GB, free: 6.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.3128, allocations: 2.625 MB / 0.5585 GB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3128, allocations: 4.188 kB / 0.5585 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.479e-05/0.3128, allocations: 16.56 kB / 0.5585 GB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.058e-05/0.3129, allocations: 89.2 kB / 0.5586 GB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.3155, allocations: 4.234 MB / 0.5627 GB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.318, allocations: 3.275 MB / 0.5659 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.3186, allocations: 485.6 kB / 0.5664 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.3187, allocations: 112.8 kB / 0.5665 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002193/0.3209, allocations: 1.85 MB / 0.5683 GB, free: 9.973 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.3209, allocations: 34.56 kB / 0.5683 GB, free: 9.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.3209, allocations: 0 / 0.5683 GB, free: 9.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005283/0.3214, allocations: 460.9 kB / 0.5688 GB, free: 9.473 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.3215, allocations: 63.34 kB / 0.5688 GB, free: 9.398 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.3221, allocations: 0.9148 MB / 0.5697 GB, free: 8.473 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3221, allocations: 29.7 kB / 0.5698 GB, free: 8.438 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.3223, allocations: 471.1 kB / 0.5702 GB, free: 7.969 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.3225, allocations: 103.2 kB / 0.5703 GB, free: 7.867 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.3227, allocations: 294.4 kB / 0.5706 GB, free: 7.574 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.3228, allocations: 358.8 kB / 0.5709 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.323, allocations: 234.5 kB / 0.5711 GB, free: 6.984 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.3235, allocations: 0.8843 MB / 0.572 GB, free: 5.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007994/0.3243, allocations: 1.22 MB / 0.5732 GB, free: 4.219 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.3243, allocations: 8 kB / 0.5732 GB, free: 4.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0009817/0.3253, allocations: 1.134 MB / 0.5743 GB, free: 3.074 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3253, allocations: 20.06 kB / 0.5743 GB, free: 3.055 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.3253, allocations: 24 kB / 0.5744 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.3254, allocations: 28 kB / 0.5744 GB, free: 3.004 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.3258, allocations: 307.4 kB / 0.5747 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.3258, allocations: 47.8 kB / 0.5747 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.3261, allocations: 136.7 kB / 0.5749 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.3262, allocations: 128 kB / 0.575 GB, free: 2.398 MB / 458.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.0002497/0.3264, allocations: 337.1 kB / 0.5753 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.3265, allocations: 87.44 kB / 0.5754 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009623/0.3274, allocations: 0.7872 MB / 0.5762 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3274, allocations: 7.984 kB / 0.5762 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3274, allocations: 3.938 kB / 0.5762 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3274, allocations: 0 / 0.5762 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.3278, allocations: 420.9 kB / 0.5766 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3278, allocations: 0 / 0.5766 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.3279, allocations: 99.95 kB / 0.5767 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3279, allocations: 7.938 kB / 0.5767 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.3279, allocations: 27.98 kB / 0.5767 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3279, allocations: 8 kB / 0.5767 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3279, allocations: 0 / 0.5767 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.3285, allocations: 482.7 kB / 0.5772 GB, free: 112 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.3287, allocations: 245.3 kB / 0.5774 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.3288, allocations: 11.98 kB / 0.5774 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3289, allocations: 8 kB / 0.5774 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3289, allocations: 47.89 kB / 0.5775 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.329, allocations: 83.98 kB / 0.5775 GB, free: 15.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003999/0.3294, allocations: 0.5654 MB / 0.5781 GB, free: 15.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3294, allocations: 0 / 0.5781 GB, free: 15.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004995/0.3299, allocations: 185.5 kB / 0.5783 GB, free: 14.97 MB / 474.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.0002937/0.3302, allocations: 228.8 kB / 0.5785 GB, free: 14.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005412/0.3307, allocations: 0.5867 MB / 0.5791 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3307, allocations: 0 / 0.5791 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3309, allocations: 139.8 kB / 0.5792 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3312, allocations: 89.58 kB / 0.5793 GB, free: 13.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3324, allocations: 1.324 MB / 0.5806 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.3326, allocations: 362.9 kB / 0.5809 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.333, allocations: 196.3 kB / 0.5811 GB, free: 12.01 MB / 474.7 MB Notification: Performance of SimCode: time 6.01e-07/0.333, allocations: 0 / 0.5811 GB, free: 12.01 MB / 474.7 MB Notification: Performance of Templates: time 0.008664/0.3416, allocations: 10.29 MB / 0.5912 GB, free: 1.777 MB / 474.7 MB " [Timeout remaining time 660] 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=480 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.058313789777458] Failed to read output from testmodel.py, exit status != 0: 0.34816673398017883 0.35484605 0.043875645000000005 Calling exit ...