Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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.001356/0.001356, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001517/0.001517, allocations: 211 kB / 22.99 MB, free: 4.957 MB / 14.72 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1399/0.1399, allocations: 23.87 MB / 337.1 MB, free: 10.97 MB / 270.1 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.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.88 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2989, allocations: 59.85 MB / 0.5197 GB, free: 9.766 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638: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 2.0.0/Obsolete.mo:12638:6-12638: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.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.0744/0.3733, allocations: 23.73 MB / 0.5429 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.3875, allocations: 5.555 MB / 0.5483 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005573/0.3881, allocations: 11.88 kB / 0.5484 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008356/0.3889, allocations: 148 kB / 0.5485 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.3902, allocations: 256.7 kB / 0.5487 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003523/0.3938, allocations: 0.9812 MB / 0.5497 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009027/0.3947, allocations: 0.5114 MB / 0.5502 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.3951, allocations: 167.1 kB / 0.5504 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.3955, allocations: 251.1 kB / 0.5506 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.3959, allocations: 266 kB / 0.5509 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.166e-05/0.396, allocations: 31.94 kB / 0.5509 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.3974, allocations: 0.5323 MB / 0.5514 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3976, allocations: 104.7 kB / 0.5515 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.3978, allocations: 172.4 kB / 0.5517 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.3999, allocations: 1.092 MB / 0.5527 GB, free: 6.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3999, allocations: 0 / 0.5527 GB, free: 6.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3999, allocations: 0 / 0.5527 GB, free: 6.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.3999, allocations: 4 kB / 0.5527 GB, free: 6.777 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001525/0.4014, allocations: 0.7258 MB / 0.5534 GB, free: 6.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4015, allocations: 8.031 kB / 0.5535 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/0.4021, allocations: 113.9 kB / 0.5536 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.4027, allocations: 336.5 kB / 0.5539 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.4028, allocations: 25.03 kB / 0.5539 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.4028, allocations: 28.12 kB / 0.5539 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.4036, allocations: 443.4 kB / 0.5544 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4036, allocations: 7.922 kB / 0.5544 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.4037, allocations: 12.84 kB / 0.5544 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4037, allocations: 8 kB / 0.5544 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.4046, allocations: 0.5728 MB / 0.5549 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.4071, allocations: 1.612 MB / 0.5565 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.4075, allocations: 128.4 kB / 0.5566 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.4076, allocations: 80.53 kB / 0.5567 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/0.4097, allocations: 0.9101 MB / 0.5576 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.4097, allocations: 39.3 kB / 0.5576 GB, free: 2.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.4097, allocations: 0 / 0.5576 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004327/0.4102, allocations: 182.3 kB / 0.5578 GB, free: 1.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.4102, allocations: 51.41 kB / 0.5579 GB, free: 1.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.4107, allocations: 408.4 kB / 0.5583 GB, free: 1.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.4107, allocations: 30.36 kB / 0.5583 GB, free: 1.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.411, allocations: 267.7 kB / 0.5585 GB, free: 1.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.411, allocations: 43.86 kB / 0.5586 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.4111, allocations: 79.72 kB / 0.5587 GB, free: 1.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4113, allocations: 341.9 kB / 0.559 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4114, allocations: 70.64 kB / 0.5591 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.4118, allocations: 286.7 kB / 0.5593 GB, free: 376 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.4123, allocations: 392.5 kB / 0.5597 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.4123, allocations: 4 kB / 0.5597 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006662/0.4129, allocations: 377.7 kB / 0.5601 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.413, allocations: 12.8 kB / 0.5601 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.413, allocations: 15.94 kB / 0.5601 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.413, allocations: 12 kB / 0.5601 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.4133, allocations: 91.27 kB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.4133, allocations: 14.05 kB / 0.5602 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.4136, allocations: 44.19 kB / 0.5602 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.4136, allocations: 29.12 kB / 0.5603 GB, free: 15.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (38): * Single equations (assignments): 38 * 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.0001804/0.4138, allocations: 160.7 kB / 0.5604 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.4139, allocations: 36.28 kB / 0.5605 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.4143, allocations: 235.5 kB / 0.5607 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4143, allocations: 0.6094 kB / 0.5607 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4144, allocations: 0 / 0.5607 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4144, allocations: 3.984 kB / 0.5607 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.4149, allocations: 470 kB / 0.5611 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4149, allocations: 0 / 0.5611 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.415, allocations: 8.719 kB / 0.5611 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.415, allocations: 0.75 kB / 0.5611 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.415, allocations: 0 / 0.5611 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.415, allocations: 3.938 kB / 0.5612 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.415, allocations: 0 / 0.5612 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.4151, allocations: 106.2 kB / 0.5613 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.4152, allocations: 26.06 kB / 0.5613 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.4152, allocations: 0.5625 kB / 0.5613 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.4153, allocations: 8.594 kB / 0.5613 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.4153, allocations: 3.938 kB / 0.5613 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4154, allocations: 4.828 kB / 0.5613 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003917/0.4157, allocations: 312.7 kB / 0.5616 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 0 / 0.5616 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006343/0.4164, allocations: 187.6 kB / 0.5618 GB, free: 13.84 MB / 414.1 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 (1): * Single equations (assignments): 1 * 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.0005566/0.4169, allocations: 304.6 kB / 0.5621 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.4173, allocations: 159 kB / 0.5622 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4173, allocations: 0 / 0.5622 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.4173, allocations: 13.41 kB / 0.5622 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.4178, allocations: 76.39 kB / 0.5623 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.4187, allocations: 0.5482 MB / 0.5628 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.4189, allocations: 176.2 kB / 0.563 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.4191, allocations: 95.44 kB / 0.5631 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.4192, allocations: 47.52 kB / 0.5631 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4192, allocations: 0 / 0.5631 GB, free: 12.54 MB / 414.1 MB Notification: Performance of Templates: time 0.01245/0.4317, allocations: 6.676 MB / 0.5697 GB, free: 6.273 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8418261210026685] Failed to read output from testmodel.py, exit status != 0: 0.440272845007712 0.45532462300000004 0.052204866 Calling exit ...