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.000997/0.000997, allocations: 93.06 kB / 19.65 MB, free: 272 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.001007/0.001007, allocations: 169 kB / 23.02 MB, free: 1.543 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.9193/0.9193, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09068/0.09068, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.553e-06/1.553e-06, allocations: 0 / 353.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.537e-05, allocations: 4.844 kB / 353.4 MB, free: 9.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003637/0.003672, allocations: 2.901 MB / 356.3 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.007209, allocations: 3.499 MB / 359.8 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.007499, allocations: 11.88 kB / 359.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.007906, allocations: 107.1 kB / 360 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.008479, allocations: 202.3 kB / 360.2 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.00967, allocations: 0.5668 MB / 360.7 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006435/0.01031, allocations: 0.4985 MB / 361.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.0106, allocations: 136.8 kB / 361.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.01087, allocations: 311.4 kB / 361.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.01119, allocations: 215.5 kB / 361.9 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.01124, allocations: 28 kB / 361.9 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.01182, allocations: 275.5 kB / 362.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.01196, allocations: 91.66 kB / 362.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.01209, allocations: 123.7 kB / 362.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008555/0.01294, allocations: 0.6731 MB / 363 MB, free: 320 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.01295, allocations: 0 / 363 MB, free: 320 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.01295, allocations: 0 / 363 MB, free: 320 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.01296, allocations: 0 / 363 MB, free: 320 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.0008464/0.0138, allocations: 0.7364 MB / 363.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.01384, allocations: 12.03 kB / 363.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.01426, allocations: 187.7 kB / 364 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.01464, allocations: 312.4 kB / 364.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.01466, allocations: 20.88 kB / 364.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.01469, allocations: 24.38 kB / 364.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.01506, allocations: 343 kB / 364.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.01507, allocations: 3.938 kB / 364.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.0151, allocations: 4 kB / 364.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.01511, allocations: 8 kB / 364.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.01554, allocations: 404.4 kB / 365.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.01681, allocations: 1.564 MB / 366.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.01703, allocations: 107 kB / 366.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.01712, allocations: 51.66 kB / 366.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009701/0.01809, allocations: 0.8824 MB / 367.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.01811, allocations: 37.39 kB / 367.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.01811, allocations: 0 / 367.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003057/0.01842, allocations: 157.4 kB / 367.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.01845, allocations: 55.41 kB / 367.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.0187, allocations: 394.6 kB / 368.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.01872, allocations: 29.7 kB / 368.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.01885, allocations: 286.6 kB / 368.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.01888, allocations: 47.62 kB / 368.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.01895, allocations: 75.31 kB / 368.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003971/0.01935, allocations: 0.5235 MB / 369.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.01941, allocations: 31.97 kB / 369.3 MB, free: 9.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.01958, allocations: 294.8 kB / 369.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.01985, allocations: 370.5 kB / 369.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.01985, allocations: 4 kB / 369.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003223/0.02017, allocations: 297.1 kB / 370.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.02019, allocations: 8 kB / 370.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.0202, allocations: 8 kB / 370.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.02022, allocations: 8 kB / 370.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.02037, allocations: 75.84 kB / 370.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.02038, allocations: 16.45 kB / 370.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.0205, allocations: 47.7 kB / 370.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.02052, allocations: 20 kB / 370.4 MB, free: 8.414 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.000101/0.02062, allocations: 180.4 kB / 370.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.02067, allocations: 39.77 kB / 370.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.02101, allocations: 277.5 kB / 370.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02101, allocations: 4 kB / 370.9 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.02102, allocations: 0 / 370.9 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.02102, allocations: 4 kB / 370.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.02142, allocations: 0.6155 MB / 371.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.02143, allocations: 4 kB / 371.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.02147, allocations: 15.98 kB / 371.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.02147, allocations: 4 kB / 371.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.02148, allocations: 0 / 371.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02149, allocations: 7.938 kB / 371.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.02149, allocations: 3.938 kB / 371.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.02162, allocations: 166.8 kB / 371.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.02166, allocations: 39.75 kB / 371.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.02169, allocations: 4 kB / 371.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.02173, allocations: 0 / 371.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.02175, allocations: 15.92 kB / 371.8 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.02176, allocations: 4 kB / 371.8 MB, free: 6.883 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.02193, allocations: 283.1 kB / 372.1 MB, free: 6.605 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02193, allocations: 4 kB / 372.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.02227, allocations: 111.6 kB / 372.2 MB, free: 6.492 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.0002998/0.02257, allocations: 203.5 kB / 372.4 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.02278, allocations: 131.4 kB / 372.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02279, allocations: 1.75 kB / 372.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-05/0.02281, allocations: 27.62 kB / 372.5 MB, free: 6.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.02314, allocations: 95.12 kB / 372.6 MB, free: 6.035 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.001052/0.02419, allocations: 0.54 MB / 373.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.02424, allocations: 96.23 kB / 373.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.02443, allocations: 86.83 kB / 373.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.02449, allocations: 44.48 kB / 373.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02449, allocations: 0 / 373.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of Templates: time 0.007875/0.03237, allocations: 5.192 MB / 378.6 MB, free: 96 kB / 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.8482373002916574]