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.0009562/0.0009562, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009895/0.0009895, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.09791/0.09791, allocations: 17.38 MB / 277.7 MB, free: 11.7 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.663e-06/1.663e-06, allocations: 0 / 353.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.041e-05, allocations: 9.344 kB / 353.5 MB, free: 10.28 MB / 282.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.02442/0.02444, allocations: 26.66 MB / 380.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2906/0.315, allocations: 134.5 MB / 0.5025 GB, free: 8.125 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.3152, allocations: 4 kB / 0.5025 GB, free: 8.121 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3168, allocations: 0.6712 MB / 0.5032 GB, free: 7.449 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.3188, allocations: 2.095 MB / 0.5052 GB, free: 5.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.32, allocations: 0.5242 MB / 0.5057 GB, free: 4.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002295/0.3223, allocations: 2.022 MB / 0.5077 GB, free: 2.789 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.3224, allocations: 25.97 kB / 0.5077 GB, free: 2.758 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.3228, allocations: 463 kB / 0.5082 GB, free: 2.305 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.3233, allocations: 451.1 kB / 0.5086 GB, free: 1.863 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.3234, allocations: 24 kB / 0.5086 GB, free: 1.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3244, allocations: 0.6822 MB / 0.5093 GB, free: 1.156 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.3245, allocations: 163.2 kB / 0.5094 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.3247, allocations: 163.4 kB / 0.5096 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.326, allocations: 1.503 MB / 0.5111 GB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.326, allocations: 0 / 0.5111 GB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.326, allocations: 0 / 0.5111 GB, free: 15.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.326, allocations: 4 kB / 0.5111 GB, free: 15.32 MB / 394.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.001119/0.3272, allocations: 1.187 MB / 0.5122 GB, free: 14.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3272, allocations: 8.031 kB / 0.5122 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.328, allocations: 0.5594 MB / 0.5128 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.3284, allocations: 364.2 kB / 0.5131 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.3284, allocations: 41.38 kB / 0.5132 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.3285, allocations: 44.36 kB / 0.5132 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/0.3294, allocations: 1.121 MB / 0.5143 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3294, allocations: 192 / 0.5143 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.3294, allocations: 24.55 kB / 0.5143 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/0.3295, allocations: 89.2 kB / 0.5144 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3307, allocations: 1.445 MB / 0.5158 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.3331, allocations: 2.882 MB / 0.5186 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.3338, allocations: 0.6142 MB / 0.5192 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.3339, allocations: 95.64 kB / 0.5193 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002303/0.3362, allocations: 1.914 MB / 0.5212 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3363, allocations: 37.39 kB / 0.5212 GB, free: 4.684 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.373e-06/0.3363, allocations: 0 / 0.5212 GB, free: 4.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005339/0.3368, allocations: 422.4 kB / 0.5216 GB, free: 4.266 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.3368, allocations: 59.34 kB / 0.5217 GB, free: 4.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.3376, allocations: 1.018 MB / 0.5227 GB, free: 3.164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3376, allocations: 29.7 kB / 0.5227 GB, free: 3.129 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.3379, allocations: 0.5369 MB / 0.5232 GB, free: 2.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.3379, allocations: 99.27 kB / 0.5233 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.3382, allocations: 332 kB / 0.5237 GB, free: 2.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3383, allocations: 0.5509 MB / 0.5242 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3385, allocations: 138.5 kB / 0.5243 GB, free: 1.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.3391, allocations: 1.12 MB / 0.5254 GB, free: 15.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3402, allocations: 1.369 MB / 0.5268 GB, free: 14.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.3402, allocations: 8 kB / 0.5268 GB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0009928/0.3412, allocations: 0.9931 MB / 0.5277 GB, free: 13.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3412, allocations: 16.94 kB / 0.5278 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.3412, allocations: 24 kB / 0.5278 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/0.3412, allocations: 32 kB / 0.5278 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.3417, allocations: 299.5 kB / 0.5281 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.3417, allocations: 47.8 kB / 0.5281 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.342, allocations: 143.8 kB / 0.5283 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.872e-05/0.3421, allocations: 132 kB / 0.5284 GB, free: 12.37 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.0001899/0.3423, allocations: 247.9 kB / 0.5286 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.3424, allocations: 95.44 kB / 0.5287 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009964/0.3434, allocations: 0.7265 MB / 0.5294 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3434, allocations: 8 kB / 0.5294 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3434, allocations: 3.938 kB / 0.5295 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.3434, allocations: 3.984 kB / 0.5295 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.3439, allocations: 0.5432 MB / 0.53 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3439, allocations: 0 / 0.53 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.3441, allocations: 107.9 kB / 0.5301 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3441, allocations: 0 / 0.5301 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.3441, allocations: 34.61 kB / 0.5301 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3441, allocations: 0 / 0.5301 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3441, allocations: 0 / 0.5301 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.3446, allocations: 0.4995 MB / 0.5306 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.3448, allocations: 253.2 kB / 0.5309 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.3449, allocations: 4 kB / 0.5309 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.345, allocations: 8 kB / 0.5309 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.3451, allocations: 43.89 kB / 0.5309 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/0.3451, allocations: 87.98 kB / 0.531 GB, free: 9.648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004036/0.3455, allocations: 0.5028 MB / 0.5315 GB, free: 9.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3455, allocations: 0 / 0.5315 GB, free: 9.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.3461, allocations: 187.8 kB / 0.5317 GB, free: 8.965 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.0003201/0.3464, allocations: 239.1 kB / 0.5319 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005568/0.3469, allocations: 0.5319 MB / 0.5324 GB, free: 8.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3469, allocations: 0 / 0.5324 GB, free: 8.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3471, allocations: 136.2 kB / 0.5325 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.3475, allocations: 119.2 kB / 0.5326 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3491, allocations: 1.136 MB / 0.5338 GB, free: 6.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3492, allocations: 162.1 kB / 0.5339 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008635/0.35, allocations: 0.4954 MB / 0.5344 GB, free: 6.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.3503, allocations: 144.3 kB / 0.5345 GB, free: 5.977 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3503, allocations: 4 kB / 0.5345 GB, free: 5.973 MB / 410.7 MB Notification: Performance of Templates: time 0.01062/0.3609, allocations: 8.61 MB / 0.5429 GB, free: 13.56 MB / 426.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=240 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5338746779598296]