Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001317/0.001317, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001628/0.001628, allocations: 216.5 kB / 22.25 MB, free: 5.082 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1327/0.1327, allocations: 23.89 MB / 336.3 MB, free: 11.17 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) [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.001952/0.001952, allocations: 71.88 kB / 471.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 59.88 MB / 0.5187 GB, free: 9.609 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.03325/0.3365, allocations: 23.91 MB / 0.542 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008355/0.3449, allocations: 6.368 MB / 0.5482 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.3453, allocations: 11.88 kB / 0.5482 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.3458, allocations: 152.1 kB / 0.5484 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007443/0.3465, allocations: 255.7 kB / 0.5486 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.3491, allocations: 0.986 MB / 0.5496 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007967/0.3499, allocations: 0.5069 MB / 0.5501 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.3502, allocations: 175.2 kB / 0.5503 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.3505, allocations: 243 kB / 0.5505 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.3509, allocations: 277 kB / 0.5507 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.351, allocations: 28 kB / 0.5508 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.3526, allocations: 0.5593 MB / 0.5513 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3527, allocations: 96.84 kB / 0.5514 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.3529, allocations: 212 kB / 0.5516 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.3549, allocations: 1.083 MB / 0.5527 GB, free: 5.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3549, allocations: 0 / 0.5527 GB, free: 5.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3549, allocations: 0 / 0.5527 GB, free: 5.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3549, allocations: 0 / 0.5527 GB, free: 5.863 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.00124/0.3561, allocations: 0.7286 MB / 0.5534 GB, free: 5.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3562, allocations: 12.03 kB / 0.5534 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.714e-05/0.3563, allocations: 65.08 kB / 0.5535 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005281/0.3568, allocations: 115.1 kB / 0.5536 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.3574, allocations: 335.3 kB / 0.5539 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.3574, allocations: 22.06 kB / 0.5539 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.3575, allocations: 27.94 kB / 0.5539 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.3582, allocations: 442.9 kB / 0.5544 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3582, allocations: 4.656 kB / 0.5544 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.3582, allocations: 12 kB / 0.5544 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3583, allocations: 8 kB / 0.5544 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.3592, allocations: 0.5847 MB / 0.555 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.3616, allocations: 1.731 MB / 0.5566 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.3619, allocations: 132 kB / 0.5568 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3621, allocations: 81.95 kB / 0.5568 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/0.364, allocations: 0.9443 MB / 0.5578 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3641, allocations: 31.45 kB / 0.5578 GB, free: 1.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3641, allocations: 4 kB / 0.5578 GB, free: 1.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004256/0.3645, allocations: 190.3 kB / 0.558 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3645, allocations: 59.34 kB / 0.558 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.365, allocations: 436 kB / 0.5585 GB, free: 412 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3651, allocations: 33.64 kB / 0.5585 GB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3653, allocations: 262.8 kB / 0.5587 GB, free: 124 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.3653, allocations: 39.81 kB / 0.5588 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3654, allocations: 79.62 kB / 0.5589 GB, free: 8 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3656, allocations: 347.3 kB / 0.5592 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3658, allocations: 78.75 kB / 0.5593 GB, free: 15.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.3661, allocations: 277.8 kB / 0.5595 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.3665, allocations: 389 kB / 0.5599 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3665, allocations: 4 kB / 0.5599 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006196/0.3672, allocations: 393.5 kB / 0.5603 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3672, allocations: 8 kB / 0.5603 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3672, allocations: 8.609 kB / 0.5603 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/0.3672, allocations: 12 kB / 0.5603 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.3675, allocations: 95.58 kB / 0.5604 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.3675, allocations: 13.88 kB / 0.5604 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.3678, allocations: 48.47 kB / 0.5605 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.3678, allocations: 29.27 kB / 0.5605 GB, free: 14.21 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.0001797/0.368, allocations: 160.3 kB / 0.5606 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.3681, allocations: 40.33 kB / 0.5607 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.3685, allocations: 248.2 kB / 0.5609 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3685, allocations: 3.938 kB / 0.5609 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3685, allocations: 0 / 0.5609 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3685, allocations: 0.5156 kB / 0.5609 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.3692, allocations: 0.4997 MB / 0.5614 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3692, allocations: 0 / 0.5614 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.3692, allocations: 8.734 kB / 0.5614 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3692, allocations: 0.6562 kB / 0.5614 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3692, allocations: 4.062 kB / 0.5614 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3692, allocations: 0 / 0.5614 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3692, allocations: 4.5 kB / 0.5614 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.3694, allocations: 110.2 kB / 0.5615 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.3694, allocations: 42.38 kB / 0.5616 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.3695, allocations: 4.516 kB / 0.5616 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.3696, allocations: 4.656 kB / 0.5616 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.3696, allocations: 4.828 kB / 0.5616 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.3696, allocations: 3.984 kB / 0.5616 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00044/0.3701, allocations: 364.3 kB / 0.5619 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3701, allocations: 0 / 0.5619 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005885/0.3706, allocations: 179.6 kB / 0.5621 GB, free: 12.6 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.0008815/0.3715, allocations: 0.8611 MB / 0.5629 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.3718, allocations: 154.2 kB / 0.5631 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3718, allocations: 4 kB / 0.5631 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.3719, allocations: 6.656 kB / 0.5631 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.3724, allocations: 94.88 kB / 0.5632 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.3767, allocations: 3.478 MB / 0.5666 GB, free: 8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.3771, allocations: 0.7859 MB / 0.5674 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.3774, allocations: 101.8 kB / 0.5674 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.3776, allocations: 134 kB / 0.5676 GB, free: 7.031 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3776, allocations: 0 / 0.5676 GB, free: 7.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.4166, allocations: 10.62 MB / 0.5779 GB, free: 12.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.64, allocations: 10.75 kB / 0.578 GB, free: 12.59 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.161612428957596] Failed to read output from testmodel.py, exit status != 0: 11.749804829014465 11.779241651 11.418835197 Calling exit ...