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.0008013/0.0008013, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009399/0.0009399, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.027/1.027, 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 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.09415/0.09415, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.783e-06/1.783e-06, allocations: 0 / 353.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.565e-05, allocations: 2.312 kB / 353.4 MB, free: 9.973 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.02819/0.02822, allocations: 26.73 MB / 380.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2652/0.2934, allocations: 134.8 MB / 0.5029 GB, free: 7.602 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.2937, allocations: 7.938 kB / 0.5029 GB, free: 7.594 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.2955, allocations: 0.667 MB / 0.5035 GB, free: 6.926 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.298, allocations: 2.103 MB / 0.5056 GB, free: 4.812 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.2993, allocations: 0.5281 MB / 0.5061 GB, free: 4.281 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.3018, allocations: 2.084 MB / 0.5081 GB, free: 2.191 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.3019, allocations: 21.97 kB / 0.5081 GB, free: 2.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004845/0.3024, allocations: 483 kB / 0.5086 GB, free: 1.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.3029, allocations: 443.2 kB / 0.509 GB, free: 1.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.3029, allocations: 16 kB / 0.509 GB, free: 1.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.3043, allocations: 0.6939 MB / 0.5097 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3044, allocations: 155.3 kB / 0.5099 GB, free: 404 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.3045, allocations: 163.4 kB / 0.51 GB, free: 240 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.306, allocations: 1.515 MB / 0.5115 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.306, allocations: 0 / 0.5115 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.306, allocations: 0 / 0.5115 GB, free: 14.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.306, allocations: 0 / 0.5115 GB, free: 14.71 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.001191/0.3072, allocations: 1.175 MB / 0.5127 GB, free: 13.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3073, allocations: 12.03 kB / 0.5127 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006431/0.3079, allocations: 0.5594 MB / 0.5132 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.3083, allocations: 368.1 kB / 0.5136 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.3083, allocations: 37.36 kB / 0.5136 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.3084, allocations: 44.38 kB / 0.5136 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009199/0.3093, allocations: 1.125 MB / 0.5147 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3093, allocations: 4.125 kB / 0.5147 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.3093, allocations: 24.56 kB / 0.5148 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.176e-05/0.3094, allocations: 85.2 kB / 0.5148 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.3106, allocations: 1.453 MB / 0.5163 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.3131, allocations: 2.886 MB / 0.5191 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.3138, allocations: 0.5987 MB / 0.5197 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.314, allocations: 103.6 kB / 0.5198 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002248/0.3162, allocations: 1.91 MB / 0.5216 GB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3162, allocations: 45.33 kB / 0.5217 GB, free: 4.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/0.3162, allocations: 0 / 0.5217 GB, free: 4.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005337/0.3168, allocations: 406.3 kB / 0.5221 GB, free: 3.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.3168, allocations: 59.34 kB / 0.5221 GB, free: 3.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/0.3176, allocations: 1.03 MB / 0.5231 GB, free: 2.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3176, allocations: 29.7 kB / 0.5232 GB, free: 2.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.3178, allocations: 0.5292 MB / 0.5237 GB, free: 1.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.3179, allocations: 111.2 kB / 0.5238 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.3182, allocations: 332 kB / 0.5241 GB, free: 1.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3183, allocations: 0.5508 MB / 0.5246 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.3185, allocations: 134.5 kB / 0.5248 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/0.3191, allocations: 1.116 MB / 0.5259 GB, free: 15.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009583/0.32, allocations: 1.376 MB / 0.5272 GB, free: 13.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.3201, allocations: 8 kB / 0.5272 GB, free: 13.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001088/0.3211, allocations: 0.9894 MB / 0.5282 GB, free: 12.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.3212, allocations: 16 kB / 0.5282 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.3212, allocations: 24 kB / 0.5282 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.494e-05/0.3212, allocations: 32.75 kB / 0.5282 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.3217, allocations: 303.4 kB / 0.5285 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.849e-05/0.3217, allocations: 51.84 kB / 0.5286 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.322, allocations: 139 kB / 0.5287 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.3221, allocations: 128 kB / 0.5288 GB, free: 11.76 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.0002116/0.3224, allocations: 248.8 kB / 0.5291 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/0.3224, allocations: 91.44 kB / 0.5292 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.3235, allocations: 0.7361 MB / 0.5299 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3235, allocations: 3.984 kB / 0.5299 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3235, allocations: 7.938 kB / 0.5299 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3235, allocations: 4 kB / 0.5299 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.324, allocations: 0.5354 MB / 0.5304 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.324, allocations: 4 kB / 0.5304 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.3241, allocations: 99.95 kB / 0.5305 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3241, allocations: 11.97 kB / 0.5305 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3242, allocations: 24 kB / 0.5305 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3242, allocations: 7.984 kB / 0.5306 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3242, allocations: 2.625 kB / 0.5306 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.3246, allocations: 0.4956 MB / 0.531 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.3249, allocations: 249.2 kB / 0.5313 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.3249, allocations: 4 kB / 0.5313 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.325, allocations: 11.98 kB / 0.5313 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.3251, allocations: 43.91 kB / 0.5313 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/0.3251, allocations: 87.98 kB / 0.5314 GB, free: 9.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003862/0.3255, allocations: 0.4989 MB / 0.5319 GB, free: 8.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3255, allocations: 0 / 0.5319 GB, free: 8.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007513/0.3263, allocations: 187.8 kB / 0.5321 GB, free: 8.359 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.0003612/0.3266, allocations: 235.1 kB / 0.5323 GB, free: 8.117 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000601/0.3272, allocations: 0.5279 MB / 0.5328 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3272, allocations: 4.062 kB / 0.5328 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.3274, allocations: 136.2 kB / 0.533 GB, free: 7.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3278, allocations: 123.6 kB / 0.5331 GB, free: 7.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.3293, allocations: 1.147 MB / 0.5342 GB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.3294, allocations: 158.2 kB / 0.5343 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008929/0.3303, allocations: 0.4942 MB / 0.5348 GB, free: 5.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.3305, allocations: 144.3 kB / 0.535 GB, free: 5.363 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3305, allocations: 0 / 0.535 GB, free: 5.363 MB / 410.7 MB Notification: Performance of Templates: time 0.01131/0.3418, allocations: 8.627 MB / 0.5434 GB, free: 12.93 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.7052995190024376]