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.0009996/0.0009996, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001053/0.001053, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.042/1.042, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.1071/0.1071, allocations: 17.46 MB / 278.5 MB, free: 11.4 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 354.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.347e-05, allocations: 5.688 kB / 354.8 MB, free: 10.6 MB / 330.7 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.03859/0.03863, allocations: 26.92 MB / 381.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005322/0.04395, allocations: 6.192 MB / 387.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.04424, allocations: 11.88 kB / 387.9 MB, free: 9.551 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.04465, allocations: 150.8 kB / 388.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.04517, allocations: 269.8 kB / 388.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.04723, allocations: 1.005 MB / 389.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.04776, allocations: 0.5291 MB / 389.9 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.04802, allocations: 165.1 kB / 390 MB, free: 7.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.04829, allocations: 335.3 kB / 390.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.04856, allocations: 223.5 kB / 390.6 MB, free: 6.883 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.04861, allocations: 28 kB / 390.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009992/0.04961, allocations: 0.5263 MB / 391.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.04972, allocations: 91.66 kB / 391.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.04984, allocations: 143.6 kB / 391.4 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.05126, allocations: 1.039 MB / 392.4 MB, free: 5.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.05127, allocations: 4 kB / 392.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.05127, allocations: 0 / 392.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.05128, allocations: 0 / 392.4 MB, free: 5.051 MB / 362.7 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.00082/0.0521, allocations: 0.8299 MB / 393.2 MB, free: 4.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.05213, allocations: 11.97 kB / 393.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.05252, allocations: 183.9 kB / 393.4 MB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.05289, allocations: 336.3 kB / 393.7 MB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.0529, allocations: 21.03 kB / 393.8 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.05294, allocations: 24.38 kB / 393.8 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.05328, allocations: 376.3 kB / 394.2 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.05329, allocations: 7.875 kB / 394.2 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.05332, allocations: 12 kB / 394.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.05333, allocations: 4 kB / 394.2 MB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.0537, allocations: 373 kB / 394.5 MB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.05511, allocations: 2.035 MB / 396.6 MB, free: 0.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.05527, allocations: 90.95 kB / 396.7 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.05533, allocations: 43.67 kB / 396.7 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.05643, allocations: 0.9991 MB / 397.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.05645, allocations: 37.39 kB / 397.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.05645, allocations: 0 / 397.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002375/0.05669, allocations: 129.6 kB / 397.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.05672, allocations: 51.41 kB / 397.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.05698, allocations: 438.2 kB / 398.4 MB, free: 14.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.05699, allocations: 29.7 kB / 398.4 MB, free: 14.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.05714, allocations: 330.3 kB / 398.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.05716, allocations: 35.69 kB / 398.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.05724, allocations: 87.03 kB / 398.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000575/0.05782, allocations: 0.5236 MB / 399.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.05786, allocations: 35.91 kB / 399.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.05804, allocations: 345.2 kB / 399.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.05831, allocations: 424.5 kB / 400.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.05832, allocations: 4 kB / 400.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003225/0.05864, allocations: 313.6 kB / 400.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.05865, allocations: 12.03 kB / 400.5 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.05866, allocations: 8 kB / 400.5 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.05868, allocations: 12 kB / 400.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.05883, allocations: 83.89 kB / 400.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.05884, allocations: 19.88 kB / 400.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.05896, allocations: 35.73 kB / 400.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.05899, allocations: 27.98 kB / 400.6 MB, free: 12.19 MB / 378.7 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 9.779e-05/0.05909, allocations: 192.3 kB / 400.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.05913, allocations: 31.81 kB / 400.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.05942, allocations: 249.6 kB / 401.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.05942, allocations: 3.938 kB / 401.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.05943, allocations: 0 / 401.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.05943, allocations: 0 / 401.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.05973, allocations: 496.7 kB / 401.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.05973, allocations: 4.062 kB / 401.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.05974, allocations: 4 kB / 401.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.05975, allocations: 3.984 kB / 401.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.05975, allocations: 0 / 401.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.05975, allocations: 0 / 401.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.05975, allocations: 0 / 401.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.162e-05/0.05984, allocations: 104.1 kB / 401.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.05987, allocations: 35.75 kB / 401.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.05989, allocations: 4 kB / 401.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.05994, allocations: 48 / 401.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.05995, allocations: 4.016 kB / 401.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.05995, allocations: 4 kB / 401.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.0601, allocations: 283 kB / 402 MB, free: 10.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0601, allocations: 0 / 402 MB, free: 10.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004186/0.06052, allocations: 191.2 kB / 402.2 MB, free: 10.51 MB / 378.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 (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.0003924/0.06091, allocations: 306.4 kB / 402.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.06107, allocations: 129.2 kB / 402.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.06108, allocations: 0 / 402.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.06108, allocations: 11.62 kB / 402.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.06139, allocations: 99.27 kB / 402.7 MB, free: 9.965 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.06231, allocations: 0.5143 MB / 403.3 MB, free: 9.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.06236, allocations: 92.59 kB / 403.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.06254, allocations: 82.2 kB / 403.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.06268, allocations: 150.1 kB / 403.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.06269, allocations: 0 / 403.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of Templates: time 0.008915/0.0716, allocations: 7.228 MB / 410.8 MB, free: 1.926 MB / 378.7 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.135159353259951]