Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.0009072/0.0009072, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009396/0.0009396, allocations: 170 kB / 23.27 MB, free: 1.219 MB / 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 0.9888/0.9888, allocations: 177.1 MB / 203.7 MB, free: 5.473 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.09517/0.09517, allocations: 17.46 MB / 277.7 MB, free: 11.37 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 3.938 kB / 354 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.716e-05, allocations: 2.312 kB / 354 MB, free: 10.58 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): time 0.022/0.02202, allocations: 27.25 MB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006841/0.02886, allocations: 9.02 MB / 390.3 MB, free: 6.375 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.02904, allocations: 11.88 kB / 390.3 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.02945, allocations: 202.4 kB / 390.5 MB, free: 6.164 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004999/0.02995, allocations: 380.9 kB / 390.9 MB, free: 5.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.03149, allocations: 1.486 MB / 392.4 MB, free: 4.293 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.032, allocations: 0.6967 MB / 393.1 MB, free: 3.594 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.03221, allocations: 205.6 kB / 393.3 MB, free: 3.395 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.03253, allocations: 415.3 kB / 393.7 MB, free: 2.988 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.03282, allocations: 303.3 kB / 394 MB, free: 2.691 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/0.03287, allocations: 36 kB / 394 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009615/0.03383, allocations: 0.7835 MB / 394.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.03393, allocations: 119.6 kB / 394.9 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.03405, allocations: 187.5 kB / 395.1 MB, free: 1.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.0352, allocations: 1.475 MB / 396.6 MB, free: 92 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.03521, allocations: 4 kB / 396.6 MB, free: 88 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03521, allocations: 4 kB / 396.6 MB, free: 84 kB / 362.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.03521, allocations: 0 / 396.6 MB, free: 84 kB / 362.7 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.0007959/0.03601, allocations: 0.9851 MB / 397.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.03604, allocations: 8.031 kB / 397.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004684/0.03651, allocations: 255.3 kB / 397.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.03688, allocations: 406.5 kB / 398.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.0369, allocations: 21.03 kB / 398.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.03694, allocations: 32.38 kB / 398.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.03733, allocations: 440.8 kB / 398.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.03734, allocations: 11.88 kB / 398.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.03737, allocations: 12 kB / 398.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.03738, allocations: 8 kB / 398.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.03785, allocations: 0.5065 MB / 399.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.03923, allocations: 2.068 MB / 401.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.0394, allocations: 138.8 kB / 401.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.03962, allocations: 63.66 kB / 401.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.041, allocations: 1.385 MB / 402.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.04102, allocations: 33.39 kB / 402.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.04102, allocations: 0 / 402.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002772/0.0413, allocations: 195.9 kB / 403.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.04132, allocations: 51.41 kB / 403.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.04158, allocations: 494.2 kB / 403.6 MB, free: 8.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.0416, allocations: 29.7 kB / 403.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.04174, allocations: 358.5 kB / 404 MB, free: 8.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.04178, allocations: 67.42 kB / 404.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.04186, allocations: 103.8 kB / 404.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.042, allocations: 0.5351 MB / 404.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.04205, allocations: 32.97 kB / 404.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.04225, allocations: 439.3 kB / 405.2 MB, free: 7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.04256, allocations: 0.5136 MB / 405.7 MB, free: 6.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.04257, allocations: 7.938 kB / 405.7 MB, free: 6.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003737/0.04294, allocations: 393.4 kB / 406.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.04295, allocations: 8.188 kB / 406.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.04296, allocations: 15.94 kB / 406.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.04298, allocations: 12 kB / 406.1 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.04315, allocations: 115.8 kB / 406.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.04316, allocations: 19.92 kB / 406.2 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.04328, allocations: 47.62 kB / 406.3 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.04331, allocations: 32 kB / 406.3 MB, free: 5.66 MB / 378.7 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.000103/0.04341, allocations: 204.2 kB / 406.5 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.04346, allocations: 47.72 kB / 406.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.04386, allocations: 393.4 kB / 407 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.04387, allocations: 4 kB / 407 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.04387, allocations: 4 kB / 407 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.04387, allocations: 0 / 407 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.04422, allocations: 0.5965 MB / 407.6 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.04423, allocations: 8.062 kB / 407.6 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.04426, allocations: 11.94 kB / 407.6 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.04426, allocations: 4 kB / 407.6 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.04426, allocations: 192 / 407.6 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.04427, allocations: 8 kB / 407.6 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.04427, allocations: 3.984 kB / 407.6 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.04439, allocations: 182.5 kB / 407.8 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.04443, allocations: 35.72 kB / 407.8 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.04446, allocations: 19.91 kB / 407.8 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.064e-05/0.04452, allocations: 4 kB / 407.8 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.04453, allocations: 7.938 kB / 407.8 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-06/0.04453, allocations: 0 / 407.8 MB, free: 3.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.0447, allocations: 330.7 kB / 408.2 MB, free: 3.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0447, allocations: 4 kB / 408.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005419/0.04524, allocations: 263 kB / 408.4 MB, free: 3.387 MB / 378.7 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.0004248/0.04567, allocations: 430 kB / 408.8 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.04585, allocations: 170.6 kB / 409 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.04585, allocations: 0 / 409 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.04588, allocations: 31.61 kB / 409 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.04619, allocations: 106 kB / 409.1 MB, free: 2.652 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.0009413/0.04713, allocations: 0.67 MB / 409.8 MB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.04718, allocations: 105.2 kB / 409.9 MB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.04738, allocations: 119.3 kB / 410 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.04755, allocations: 178.1 kB / 410.2 MB, free: 1.512 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.04755, allocations: 0 / 410.2 MB, free: 1.512 MB / 378.7 MB Notification: Performance of Templates: time 0.009867/0.05741, allocations: 9.673 MB / 419.9 MB, free: 7.895 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.977548669092357]