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.00166/0.00166, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001475/0.001475, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1386/0.1386, allocations: 23.9 MB / 333.4 MB, free: 1.172 MB / 254.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: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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_master_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.002104/0.002104, allocations: 60.94 kB / 467.2 MB, free: 30.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09799, allocations: 59.85 MB / 0.5147 GB, free: 12.38 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.03788/0.1359, allocations: 23.97 MB / 0.5381 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008576/0.1444, allocations: 6.354 MB / 0.5443 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/0.1448, allocations: 15.81 kB / 0.5443 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.1453, allocations: 150.8 kB / 0.5445 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007105/0.146, allocations: 258 kB / 0.5447 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.1483, allocations: 0.9782 MB / 0.5457 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.149, allocations: 0.5098 MB / 0.5462 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.1493, allocations: 176.8 kB / 0.5464 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1496, allocations: 243.3 kB / 0.5466 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.15, allocations: 271.1 kB / 0.5468 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.1501, allocations: 28 kB / 0.5469 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.1514, allocations: 0.5538 MB / 0.5474 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1516, allocations: 107.6 kB / 0.5475 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.1518, allocations: 199 kB / 0.5477 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.1535, allocations: 1.089 MB / 0.5488 GB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1535, allocations: 3.938 kB / 0.5488 GB, free: 9.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1535, allocations: 0 / 0.5488 GB, free: 9.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1535, allocations: 0 / 0.5488 GB, free: 9.508 MB / 414.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.001281/0.1548, allocations: 0.8091 MB / 0.5496 GB, free: 8.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1548, allocations: 8.031 kB / 0.5496 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.1555, allocations: 112.6 kB / 0.5497 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.156, allocations: 404 kB / 0.5501 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1561, allocations: 20.94 kB / 0.5501 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.1562, allocations: 28.12 kB / 0.5501 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/0.1569, allocations: 442.1 kB / 0.5505 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1569, allocations: 7.984 kB / 0.5505 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.1569, allocations: 8 kB / 0.5505 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.1569, allocations: 11.94 kB / 0.5506 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000954/0.1579, allocations: 0.5755 MB / 0.5511 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.1603, allocations: 1.765 MB / 0.5528 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.1607, allocations: 134.5 kB / 0.553 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.1608, allocations: 76.83 kB / 0.553 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00247/0.1633, allocations: 1.872 MB / 0.5549 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1633, allocations: 34.56 kB / 0.5549 GB, free: 2.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1633, allocations: 0 / 0.5549 GB, free: 2.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004276/0.1638, allocations: 189.6 kB / 0.5551 GB, free: 2.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1638, allocations: 63.56 kB / 0.5551 GB, free: 2.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.1644, allocations: 433.8 kB / 0.5556 GB, free: 2.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1644, allocations: 25.7 kB / 0.5556 GB, free: 2.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.1646, allocations: 267.7 kB / 0.5558 GB, free: 1.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.1646, allocations: 43.67 kB / 0.5559 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1648, allocations: 77.64 kB / 0.556 GB, free: 1.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.165, allocations: 350.8 kB / 0.5563 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1651, allocations: 71.72 kB / 0.5564 GB, free: 1.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1654, allocations: 285.9 kB / 0.5566 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.1659, allocations: 389.6 kB / 0.557 GB, free: 328 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1659, allocations: 0 / 0.557 GB, free: 328 kB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006396/0.1665, allocations: 397.4 kB / 0.5574 GB, free: 15.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1666, allocations: 8.156 kB / 0.5574 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1666, allocations: 12 kB / 0.5574 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.1666, allocations: 11.98 kB / 0.5574 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.1669, allocations: 87.84 kB / 0.5575 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.1669, allocations: 23.86 kB / 0.5575 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1672, allocations: 43.67 kB / 0.5576 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.1672, allocations: 24 kB / 0.5576 GB, free: 15.72 MB / 430.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.0001704/0.1674, allocations: 162.6 kB / 0.5577 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1675, allocations: 43.66 kB / 0.5578 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.168, allocations: 235.4 kB / 0.558 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.168, allocations: 0 / 0.558 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.168, allocations: 7.922 kB / 0.558 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.168, allocations: 4 kB / 0.558 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.1686, allocations: 0.5375 MB / 0.5585 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1686, allocations: 48 / 0.5585 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.1686, allocations: 3.984 kB / 0.5585 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1686, allocations: 7.922 kB / 0.5586 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.1686, allocations: 0 / 0.5586 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1686, allocations: 4 kB / 0.5586 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1686, allocations: 0 / 0.5586 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.1688, allocations: 108.9 kB / 0.5587 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1689, allocations: 120.8 kB / 0.5588 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.1689, allocations: 4 kB / 0.5588 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.169, allocations: 0 / 0.5588 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.1691, allocations: 0 / 0.5588 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.1691, allocations: 0 / 0.5588 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004624/0.1695, allocations: 362.8 kB / 0.5591 GB, free: 14 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1695, allocations: 4 kB / 0.5591 GB, free: 14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000581/0.1701, allocations: 171.4 kB / 0.5593 GB, free: 13.83 MB / 430.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.0005076/0.1706, allocations: 306.4 kB / 0.5596 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.1709, allocations: 157 kB / 0.5597 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1709, allocations: 0.6875 kB / 0.5597 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-05/0.171, allocations: 15.98 kB / 0.5597 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.1715, allocations: 89.84 kB / 0.5598 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.1724, allocations: 0.5784 MB / 0.5604 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.1729, allocations: 0.7795 MB / 0.5612 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.173, allocations: 71.39 kB / 0.5612 GB, free: 11.78 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.173, allocations: 0 / 0.5612 GB, free: 11.78 MB / 430.1 MB Notification: Performance of Templates: time 0.01018/0.1832, allocations: 6.283 MB / 0.5674 GB, free: 5.516 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.696021470008418] Failed to read output from testmodel.py, exit status != 0: 0.19095516100060195 0.204999073 0.048563558 Calling exit ...