Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.001002/0.001002, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.0009277/0.0009277, allocations: 169 kB / 24.06 MB, free: 452 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.05/1.05, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.0908/0.0908, allocations: 17.47 MB / 278.5 MB, free: 11.39 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 3.938 kB / 354.8 MB, free: 9.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.623e-05, allocations: 2.312 kB / 354.8 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003471/0.003497, allocations: 2.866 MB / 357.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.006886, allocations: 3.46 MB / 361.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.007112, allocations: 11.88 kB / 361.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.007458, allocations: 99.19 kB / 361.2 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.007967, allocations: 206.3 kB / 361.4 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.009191, allocations: 0.5629 MB / 362 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007028/0.009894, allocations: 0.5062 MB / 362.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.01015, allocations: 140.7 kB / 362.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.01042, allocations: 303.5 kB / 362.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.01073, allocations: 219.5 kB / 363.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.01077, allocations: 24 kB / 363.2 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005761/0.01135, allocations: 275.4 kB / 363.4 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.01146, allocations: 87.67 kB / 363.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.01158, allocations: 127.7 kB / 363.6 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008601/0.01244, allocations: 0.6732 MB / 364.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.01245, allocations: 0 / 364.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01245, allocations: 0 / 364.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01246, allocations: 0 / 364.3 MB, free: 15.99 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007663/0.01323, allocations: 0.7479 MB / 365.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.01326, allocations: 8.031 kB / 365.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.01365, allocations: 179.7 kB / 365.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.01401, allocations: 320.4 kB / 365.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.01403, allocations: 16.88 kB / 365.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.01406, allocations: 16.38 kB / 365.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.01445, allocations: 323 kB / 365.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01447, allocations: 3.938 kB / 365.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.01449, allocations: 8 kB / 365.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.0145, allocations: 4 kB / 365.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.01485, allocations: 357.2 kB / 366.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.01604, allocations: 1.567 MB / 367.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.01623, allocations: 103 kB / 367.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.0163, allocations: 55.59 kB / 368 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009823/0.01728, allocations: 0.8707 MB / 368.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.01731, allocations: 37.39 kB / 368.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.01731, allocations: 3.984 kB / 368.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002618/0.01757, allocations: 145.4 kB / 369 MB, free: 11.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.01761, allocations: 55.41 kB / 369.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.01801, allocations: 390.4 kB / 369.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.01802, allocations: 29.7 kB / 369.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.01816, allocations: 290.5 kB / 369.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.01819, allocations: 47.62 kB / 369.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.01827, allocations: 83.23 kB / 369.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.01843, allocations: 0.5195 MB / 370.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.01847, allocations: 27.98 kB / 370.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.01865, allocations: 302.8 kB / 370.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.01895, allocations: 354.5 kB / 371.1 MB, free: 8.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01895, allocations: 4 kB / 371.1 MB, free: 8.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003495/0.0193, allocations: 288.7 kB / 371.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.01933, allocations: 8 kB / 371.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.01934, allocations: 12.86 kB / 371.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01935, allocations: 8 kB / 371.4 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.01951, allocations: 75.91 kB / 371.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.01952, allocations: 11.94 kB / 371.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.01964, allocations: 35.78 kB / 371.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.01967, allocations: 20 kB / 371.6 MB, free: 8.207 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0001206/0.01979, allocations: 184.3 kB / 371.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.01984, allocations: 43.77 kB / 371.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.02023, allocations: 273.8 kB / 372.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02023, allocations: 4 kB / 372.1 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.02023, allocations: 0 / 372.1 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.02024, allocations: 0 / 372.1 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.0207, allocations: 0.5614 MB / 372.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02071, allocations: 3.938 kB / 372.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.02074, allocations: 12 kB / 372.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.02075, allocations: 0 / 372.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.02075, allocations: 8.188 kB / 372.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.02076, allocations: 3.984 kB / 372.6 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.02076, allocations: 4 kB / 372.7 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.02091, allocations: 170.5 kB / 372.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.02096, allocations: 35.75 kB / 372.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.02099, allocations: 4 kB / 372.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.02104, allocations: 4 kB / 372.9 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.02106, allocations: 12.05 kB / 372.9 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.02107, allocations: 8 kB / 372.9 MB, free: 6.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.02124, allocations: 267 kB / 373.1 MB, free: 6.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02124, allocations: 4 kB / 373.1 MB, free: 6.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004143/0.02165, allocations: 119.6 kB / 373.3 MB, free: 6.355 MB / 298.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.000353/0.02201, allocations: 210.7 kB / 373.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.02223, allocations: 129 kB / 373.6 MB, free: 6.012 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.02223, allocations: 4.062 kB / 373.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.353e-05/0.02225, allocations: 27.61 kB / 373.6 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.0226, allocations: 80.19 kB / 373.7 MB, free: 5.902 MB / 298.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.02364, allocations: 0.5522 MB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.675e-05/0.0237, allocations: 84.31 kB / 374.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.02388, allocations: 75.05 kB / 374.4 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.02404, allocations: 154.1 kB / 374.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.02404, allocations: 0 / 374.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of Templates: time 0.008235/0.03228, allocations: 5.285 MB / 379.8 MB, free: 15.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0989676751196384]