Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 191.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.08317/0.08317, allocations: 15.53 MB / 321.8 MB, free: 9.055 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 71.83 kB / 450.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1017, allocations: 56.57 MB / 0.4953 GB, free: 1.02 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo:3019:6-3019:65: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 1.4.1/package.mo:3019:6-3019:65: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.CheckSubstancesData.SimpleReaction2): time 0.3664/0.4681, allocations: 24.26 MB / 0.519 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008175/0.4763, allocations: 9.221 MB / 0.528 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/0.4767, allocations: 16.19 kB / 0.528 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.4773, allocations: 226.2 kB / 0.5282 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008482/0.4781, allocations: 358.1 kB / 0.5286 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.4814, allocations: 1.443 MB / 0.53 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008064/0.4822, allocations: 0.6632 MB / 0.5306 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.4825, allocations: 199.1 kB / 0.5308 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.4828, allocations: 329.5 kB / 0.5311 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004504/0.4833, allocations: 354.4 kB / 0.5315 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.207e-05/0.4834, allocations: 36.56 kB / 0.5315 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.4856, allocations: 0.8344 MB / 0.5323 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.4858, allocations: 116.1 kB / 0.5324 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.486, allocations: 262.1 kB / 0.5327 GB, free: 432 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.4884, allocations: 1.496 MB / 0.5341 GB, free: 15.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4884, allocations: 1.422 kB / 0.5341 GB, free: 15.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4884, allocations: 0 / 0.5341 GB, free: 15.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.4884, allocations: 0 / 0.5341 GB, free: 15.98 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001469/0.4899, allocations: 0.9025 MB / 0.535 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.4899, allocations: 9.125 kB / 0.535 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007409/0.4907, allocations: 161 kB / 0.5352 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/0.4913, allocations: 394.2 kB / 0.5356 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.4914, allocations: 21.84 kB / 0.5356 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.4914, allocations: 32.22 kB / 0.5356 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.4923, allocations: 0.5311 MB / 0.5361 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4923, allocations: 1.688 kB / 0.5361 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.4923, allocations: 11.97 kB / 0.5361 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.4923, allocations: 8.219 kB / 0.5361 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.4935, allocations: 0.807 MB / 0.5369 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.4961, allocations: 1.861 MB / 0.5388 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.4965, allocations: 198.3 kB / 0.5389 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.4967, allocations: 127.8 kB / 0.5391 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/0.4994, allocations: 1.324 MB / 0.5404 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4995, allocations: 43.41 kB / 0.5404 GB, free: 12.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.4995, allocations: 1.125 kB / 0.5404 GB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006397/0.5001, allocations: 296.8 kB / 0.5407 GB, free: 12.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.5001, allocations: 53.09 kB / 0.5407 GB, free: 12.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.5007, allocations: 481 kB / 0.5412 GB, free: 12.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.5008, allocations: 27.02 kB / 0.5412 GB, free: 12.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.501, allocations: 301 kB / 0.5415 GB, free: 11.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.5011, allocations: 62.56 kB / 0.5416 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.5012, allocations: 102.2 kB / 0.5417 GB, free: 11.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5014, allocations: 364.3 kB / 0.542 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5015, allocations: 96.97 kB / 0.5421 GB, free: 11.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.5019, allocations: 353.4 kB / 0.5424 GB, free: 10.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/0.5025, allocations: 0.4889 MB / 0.5429 GB, free: 10.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.5025, allocations: 2.594 kB / 0.5429 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007526/0.5032, allocations: 489.2 kB / 0.5434 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5032, allocations: 10.75 kB / 0.5434 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5032, allocations: 9.125 kB / 0.5434 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.5033, allocations: 12.28 kB / 0.5434 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.5036, allocations: 117.8 kB / 0.5435 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.5036, allocations: 19.09 kB / 0.5435 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.5039, allocations: 59.55 kB / 0.5436 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.5039, allocations: 41.27 kB / 0.5436 GB, free: 10.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 initialization (50): * Single equations (assignments): 50 * 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.0001847/0.5041, allocations: 174.4 kB / 0.5438 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.5042, allocations: 47.95 kB / 0.5439 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/0.5048, allocations: 388.6 kB / 0.5442 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5049, allocations: 5.594 kB / 0.5442 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5049, allocations: 4.5 kB / 0.5442 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5049, allocations: 0.75 kB / 0.5442 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008439/0.5057, allocations: 0.69 MB / 0.5449 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5057, allocations: 7.547 kB / 0.5449 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.5058, allocations: 18.7 kB / 0.5449 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5058, allocations: 2.156 kB / 0.5449 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5058, allocations: 2.062 kB / 0.5449 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.5058, allocations: 3.562 kB / 0.5449 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5058, allocations: 5.031 kB / 0.5449 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.506, allocations: 195.8 kB / 0.5451 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.5062, allocations: 59.73 kB / 0.5452 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.5062, allocations: 9.078 kB / 0.5452 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.5063, allocations: 10.5 kB / 0.5452 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.5064, allocations: 13.8 kB / 0.5452 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5064, allocations: 6.312 kB / 0.5452 GB, free: 9.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004869/0.5069, allocations: 415.6 kB / 0.5456 GB, free: 8.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5069, allocations: 0 / 0.5456 GB, free: 8.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008368/0.5077, allocations: 253.1 kB / 0.5459 GB, free: 8.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0007612/0.5085, allocations: 393.5 kB / 0.5462 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.5089, allocations: 226.5 kB / 0.5465 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5089, allocations: 0 / 0.5465 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.274e-05/0.5089, allocations: 33.16 kB / 0.5465 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.5095, allocations: 125 kB / 0.5466 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5107, allocations: 0.6813 MB / 0.5473 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.5111, allocations: 0.8104 MB / 0.5481 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003373/0.5114, allocations: 139.8 kB / 0.5482 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5115, allocations: 60.78 kB / 0.5483 GB, free: 7.273 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5115, allocations: 0 / 0.5483 GB, free: 7.273 MB / 398.1 MB Notification: Performance of Templates: time 0.01316/0.5247, allocations: 8.797 MB / 0.5568 GB, free: 2.934 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.780446285381913] Failed to read output from testmodel.py, exit status != 0: 0.5331375701352954 0.5443373429999999 0.053160499 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb99227d7b0>