Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001072/0.001072, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001752/0.001752, allocations: 173 kB / 23.36 MB, free: 1.133 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.9447/0.9447, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08773/0.08773, allocations: 17.39 MB / 277.6 MB, free: 11.53 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 300.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.567e-05, allocations: 4.75 kB / 300.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.007104/0.00713, allocations: 2.886 MB / 303.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009937/0.01707, allocations: 3.507 MB / 307 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.01742, allocations: 11.25 kB / 307 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.01788, allocations: 99.64 kB / 307.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006295/0.01851, allocations: 211.1 kB / 307.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005566/0.02407, allocations: 0.5664 MB / 307.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008572/0.02493, allocations: 0.5044 MB / 308.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.02523, allocations: 142.2 kB / 308.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.02558, allocations: 307 kB / 308.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.029, allocations: 207.5 kB / 309 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.02906, allocations: 24 kB / 309.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008896/0.02995, allocations: 283.4 kB / 309.3 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.03008, allocations: 87.67 kB / 309.4 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.03023, allocations: 131.7 kB / 309.5 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.0313, allocations: 0.6731 MB / 310.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.0313, allocations: 0 / 310.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.03131, allocations: 4 kB / 310.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.03131, allocations: 0 / 310.2 MB, free: 10.75 MB / 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.003939/0.03525, allocations: 0.6004 MB / 310.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.03529, allocations: 8.031 kB / 310.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.03579, allocations: 168 kB / 311 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.03622, allocations: 305.6 kB / 311.3 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.03623, allocations: 16.88 kB / 311.3 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.03626, allocations: 20.38 kB / 311.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.03657, allocations: 309.9 kB / 311.6 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.03658, allocations: 3.938 kB / 311.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.0366, allocations: 8 kB / 311.6 MB, free: 9.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.03661, allocations: 8 kB / 311.7 MB, free: 9.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.03711, allocations: 328.1 kB / 312 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.03862, allocations: 1.11 MB / 313.1 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.03886, allocations: 144.1 kB / 313.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.29e-05/0.03894, allocations: 36.84 kB / 313.3 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.04031, allocations: 0.7988 MB / 314.1 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.04034, allocations: 34.55 kB / 314.1 MB, free: 6.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.04034, allocations: 0 / 314.1 MB, free: 6.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002899/0.04063, allocations: 145.5 kB / 314.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.04068, allocations: 59.41 kB / 314.3 MB, free: 6.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.04095, allocations: 327.2 kB / 314.6 MB, free: 6.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.04098, allocations: 29.7 kB / 314.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.0411, allocations: 208.5 kB / 314.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.04114, allocations: 47.64 kB / 314.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.73e-05/0.04124, allocations: 73.56 kB / 315 MB, free: 5.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.04137, allocations: 346.7 kB / 315.3 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.04143, allocations: 26.81 kB / 315.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.04161, allocations: 213.4 kB / 315.5 MB, free: 5.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.04193, allocations: 291.2 kB / 315.8 MB, free: 4.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.04193, allocations: 4 kB / 315.8 MB, free: 4.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003762/0.04231, allocations: 232.6 kB / 316.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.04233, allocations: 10.34 kB / 316.1 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.04234, allocations: 8 kB / 316.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.04236, allocations: 8 kB / 316.1 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.04257, allocations: 75.84 kB / 316.2 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.04259, allocations: 19.92 kB / 316.2 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.04277, allocations: 35.73 kB / 316.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.04281, allocations: 16 kB / 316.2 MB, free: 4.348 MB / 282.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.0001272/0.04294, allocations: 136.5 kB / 316.4 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.04299, allocations: 24 kB / 316.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.04344, allocations: 260.7 kB / 316.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.04345, allocations: 0 / 316.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.04345, allocations: 0 / 316.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.04345, allocations: 4 kB / 316.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.04391, allocations: 479.8 kB / 317.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.04392, allocations: 4.031 kB / 317.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.04397, allocations: 11.98 kB / 317.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.04397, allocations: 4 kB / 317.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.04398, allocations: 4 kB / 317.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.04399, allocations: 7.938 kB / 317.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.04399, allocations: 0 / 317.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.04414, allocations: 145.1 kB / 317.3 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.0442, allocations: 23.81 kB / 317.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.04424, allocations: 4 kB / 317.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.04432, allocations: 11.98 kB / 317.3 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.04435, allocations: 11.92 kB / 317.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.04435, allocations: 128 / 317.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.04451, allocations: 144.7 kB / 317.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04451, allocations: 4 kB / 317.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005338/0.04505, allocations: 119.6 kB / 317.6 MB, free: 2.844 MB / 282.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.0003732/0.04542, allocations: 196 kB / 317.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.04564, allocations: 121 kB / 317.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/0.04566, allocations: 8 kB / 317.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.04569, allocations: 20.78 kB / 317.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.04606, allocations: 82.64 kB / 318 MB, free: 2.414 MB / 282.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.04742, allocations: 0.5429 MB / 318.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.04749, allocations: 88.3 kB / 318.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000273/0.04776, allocations: 81.47 kB / 318.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.04799, allocations: 119.3 kB / 318.8 MB, free: 1.531 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04799, allocations: 4 kB / 318.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of Templates: time 0.01055/0.05854, allocations: 5.225 MB / 324.1 MB, free: 12.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8871378540061414]