Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001558/0.001558, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001573/0.001573, allocations: 173 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 0.9747/0.9747, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.09179/0.09179, allocations: 17.37 MB / 278.4 MB, free: 11.49 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 354.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.546e-05, allocations: 2.312 kB / 354.7 MB, free: 10.73 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.02854/0.02857, allocations: 27.24 MB / 381.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007301/0.03587, allocations: 9.021 MB / 390.9 MB, free: 6.535 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/0.03626, allocations: 15.81 kB / 391 MB, free: 6.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.03681, allocations: 198.5 kB / 391.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008461/0.03765, allocations: 380.9 kB / 391.5 MB, free: 5.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.04066, allocations: 1.49 MB / 393 MB, free: 4.449 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008535/0.04151, allocations: 0.689 MB / 393.7 MB, free: 3.758 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.04185, allocations: 201.7 kB / 393.9 MB, free: 3.562 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.04224, allocations: 423.2 kB / 394.3 MB, free: 3.148 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.04267, allocations: 295.4 kB / 394.6 MB, free: 2.859 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.04274, allocations: 36 kB / 394.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.04443, allocations: 0.7912 MB / 395.4 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.04457, allocations: 119.5 kB / 395.5 MB, free: 1.914 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.04474, allocations: 183.6 kB / 395.7 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.04683, allocations: 1.482 MB / 397.2 MB, free: 252 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.04684, allocations: 0 / 397.2 MB, free: 252 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04684, allocations: 0 / 397.2 MB, free: 252 kB / 362.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.04685, allocations: 0 / 397.2 MB, free: 252 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.001142/0.04799, allocations: 0.9849 MB / 398.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.04803, allocations: 11.97 kB / 398.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/0.04859, allocations: 259.3 kB / 398.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.04904, allocations: 398.5 kB / 398.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.04906, allocations: 21.03 kB / 398.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.0491, allocations: 36.38 kB / 398.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.04952, allocations: 444.8 kB / 399.3 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.04953, allocations: 3.938 kB / 399.3 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.04957, allocations: 12 kB / 399.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.04958, allocations: 8 kB / 399.4 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.05009, allocations: 0.5104 MB / 399.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.0517, allocations: 2.08 MB / 401.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.05191, allocations: 134.8 kB / 402.1 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.052, allocations: 63.66 kB / 402.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/0.05358, allocations: 1.353 MB / 403.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.0536, allocations: 33.39 kB / 403.5 MB, free: 9.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.0536, allocations: 3.938 kB / 403.5 MB, free: 9.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003069/0.05391, allocations: 187.5 kB / 403.7 MB, free: 9.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.05394, allocations: 51.41 kB / 403.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.05422, allocations: 498.1 kB / 404.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.05424, allocations: 25.7 kB / 404.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.0544, allocations: 362.5 kB / 404.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.05444, allocations: 71.42 kB / 404.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.05454, allocations: 103.8 kB / 404.8 MB, free: 8.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.05469, allocations: 0.5273 MB / 405.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.05474, allocations: 40.95 kB / 405.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.05498, allocations: 435.3 kB / 405.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.05535, allocations: 0.5136 MB / 406.3 MB, free: 6.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.05536, allocations: 7.938 kB / 406.3 MB, free: 6.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004217/0.05578, allocations: 400.8 kB / 406.7 MB, free: 6.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.0558, allocations: 15.94 kB / 406.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.05581, allocations: 8.906 kB / 406.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.05582, allocations: 12 kB / 406.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.05601, allocations: 115.8 kB / 406.9 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.05602, allocations: 19.92 kB / 406.9 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.05617, allocations: 47.62 kB / 406.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.05621, allocations: 32 kB / 407 MB, free: 5.824 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.0001104/0.05632, allocations: 188.3 kB / 407.1 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.05637, allocations: 51.72 kB / 407.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.05682, allocations: 397.4 kB / 407.6 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.05682, allocations: 0 / 407.6 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.05682, allocations: 0 / 407.6 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.05683, allocations: 8 kB / 407.6 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.05725, allocations: 0.6004 MB / 408.2 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.05725, allocations: 7.984 kB / 408.2 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.05729, allocations: 8 kB / 408.2 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.05729, allocations: 4 kB / 408.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.0573, allocations: 0 / 408.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.0573, allocations: 7.938 kB / 408.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.0573, allocations: 0 / 408.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.05744, allocations: 182.8 kB / 408.4 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.05749, allocations: 43.7 kB / 408.4 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.05752, allocations: 15.83 kB / 408.4 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.05758, allocations: 4 kB / 408.5 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.0576, allocations: 15.86 kB / 408.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.0576, allocations: 0 / 408.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.05779, allocations: 330.7 kB / 408.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05779, allocations: 0 / 408.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005743/0.05836, allocations: 263 kB / 409 MB, free: 3.555 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.0005095/0.05887, allocations: 422 kB / 409.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.05909, allocations: 174 kB / 409.6 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.0591, allocations: 0.875 kB / 409.6 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.05912, allocations: 35.67 kB / 409.7 MB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.05948, allocations: 97.38 kB / 409.8 MB, free: 2.832 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.001064/0.06055, allocations: 0.6742 MB / 410.4 MB, free: 2.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.279e-05/0.06061, allocations: 113.1 kB / 410.5 MB, free: 1.977 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.06082, allocations: 111.1 kB / 410.7 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.061, allocations: 174.1 kB / 410.8 MB, free: 1.691 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.06101, allocations: 0 / 410.8 MB, free: 1.691 MB / 378.7 MB Notification: Performance of Templates: time 0.01143/0.07244, allocations: 9.758 MB / 420.6 MB, free: 8.004 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0432632248848677]