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.001041/0.001041, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001983/0.001983, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 1.04/1.04, allocations: 177.1 MB / 203.4 MB, free: 5.586 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.1008/0.1008, allocations: 17.46 MB / 277.4 MB, free: 11.57 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.693e-06/1.693e-06, allocations: 3.938 kB / 353.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.771e-05, allocations: 4.844 kB / 353.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003212/0.00324, allocations: 2.901 MB / 356.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.006507, allocations: 3.491 MB / 360 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.006684, allocations: 11.88 kB / 360 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.007011, allocations: 99.14 kB / 360.1 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.007424, allocations: 214.3 kB / 360.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000857/0.008281, allocations: 0.5707 MB / 360.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.008795, allocations: 0.4946 MB / 361.3 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.009014, allocations: 136.8 kB / 361.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.009248, allocations: 307.4 kB / 361.8 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.009515, allocations: 211.5 kB / 362 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.009559, allocations: 24 kB / 362 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.009978, allocations: 283.4 kB / 362.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.182e-05/0.01007, allocations: 87.66 kB / 362.4 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.01018, allocations: 127.7 kB / 362.5 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007114/0.0109, allocations: 0.6731 MB / 363.2 MB, free: 200 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.0109, allocations: 3.984 kB / 363.2 MB, free: 196 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.0109, allocations: 0 / 363.2 MB, free: 196 kB / 282.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.01091, allocations: 0 / 363.2 MB, free: 196 kB / 282.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.000742/0.01165, allocations: 0.7365 MB / 363.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.01169, allocations: 8.031 kB / 363.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.01208, allocations: 179.7 kB / 364.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.01244, allocations: 324.3 kB / 364.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.01246, allocations: 16.88 kB / 364.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.0125, allocations: 20.38 kB / 364.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.01287, allocations: 339 kB / 364.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.01288, allocations: 7.938 kB / 364.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.01291, allocations: 15.98 kB / 364.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.01292, allocations: 8 kB / 364.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.01336, allocations: 396.5 kB / 365.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.01457, allocations: 1.56 MB / 366.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.01479, allocations: 111 kB / 366.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.01488, allocations: 59.66 kB / 366.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009651/0.01584, allocations: 0.8823 MB / 367.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.01587, allocations: 33.39 kB / 367.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.01587, allocations: 0 / 367.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003039/0.01617, allocations: 157.4 kB / 368 MB, free: 11.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.0162, allocations: 51.41 kB / 368 MB, free: 11.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.01647, allocations: 398.5 kB / 368.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.01649, allocations: 29.69 kB / 368.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.01662, allocations: 290.6 kB / 368.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.01665, allocations: 43.62 kB / 368.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/0.01672, allocations: 83.3 kB / 368.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.01685, allocations: 0.5157 MB / 369.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.01692, allocations: 35.97 kB / 369.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.01708, allocations: 286.9 kB / 369.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.01735, allocations: 370.5 kB / 370 MB, free: 8.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01736, allocations: 0 / 370 MB, free: 8.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003376/0.01769, allocations: 305.5 kB / 370.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.01771, allocations: 8 kB / 370.4 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.01772, allocations: 8 kB / 370.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.01774, allocations: 8 kB / 370.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01788, allocations: 79.84 kB / 370.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.0179, allocations: 11.98 kB / 370.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.846e-05/0.018, allocations: 31.78 kB / 370.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.01802, allocations: 27.94 kB / 370.5 MB, free: 8.301 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 9.713e-05/0.01812, allocations: 184.5 kB / 370.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.01817, allocations: 39.77 kB / 370.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.01851, allocations: 277.5 kB / 371 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01851, allocations: 0 / 371 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01852, allocations: 7.984 kB / 371 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01852, allocations: 0 / 371 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.01893, allocations: 0.6195 MB / 371.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01893, allocations: 0 / 371.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.01896, allocations: 15.98 kB / 371.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01896, allocations: 0 / 371.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01897, allocations: 4 kB / 371.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01897, allocations: 0 / 371.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01898, allocations: 11.88 kB / 371.7 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.0191, allocations: 162.7 kB / 371.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.01914, allocations: 35.75 kB / 371.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.01917, allocations: 8.125 kB / 371.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.01921, allocations: 4 kB / 371.9 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.01923, allocations: 15.86 kB / 371.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-06/0.01924, allocations: 4 kB / 371.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.01942, allocations: 283.1 kB / 372.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01942, allocations: 0 / 372.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003039/0.01972, allocations: 119.6 kB / 372.3 MB, free: 6.371 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.0002709/0.01999, allocations: 198.8 kB / 372.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.0202, allocations: 136.2 kB / 372.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0202, allocations: 0 / 372.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.02023, allocations: 23.75 kB / 372.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.02057, allocations: 92.83 kB / 372.7 MB, free: 5.922 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.001077/0.02165, allocations: 0.5518 MB / 373.3 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.136e-05/0.0217, allocations: 88.25 kB / 373.4 MB, free: 5.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.02187, allocations: 90.77 kB / 373.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.02193, allocations: 48.42 kB / 373.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02193, allocations: 0 / 373.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of Templates: time 0.006523/0.02845, allocations: 4.571 MB / 378.1 MB, free: 0.582 MB / 298.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.127212327439338]