Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 191.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2138/0.2138, allocations: 15.32 MB / 305.3 MB, free: 15.33 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.89 kB / 369.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1136, allocations: 53.61 MB / 423.3 MB, free: 14.8 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.CheckSubstancesData.SimpleReaction2): time 0.3514/0.465, allocations: 22.65 MB / 445.9 MB, free: 39.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007725/0.4727, allocations: 9.161 MB / 455.1 MB, free: 35.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006095/0.4733, allocations: 21.22 kB / 455.1 MB, free: 35.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006413/0.474, allocations: 211.2 kB / 455.3 MB, free: 34.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008699/0.4749, allocations: 305 kB / 455.6 MB, free: 34.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.4782, allocations: 1.242 MB / 456.8 MB, free: 34.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007627/0.479, allocations: 0.6601 MB / 457.5 MB, free: 34.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.4793, allocations: 203.1 kB / 457.7 MB, free: 33.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.4795, allocations: 301.8 kB / 458 MB, free: 33.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.4798, allocations: 344.2 kB / 458.3 MB, free: 33.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.537e-05/0.4799, allocations: 24.91 kB / 458.3 MB, free: 33.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.4819, allocations: 0.8071 MB / 459.2 MB, free: 33.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.4821, allocations: 113 kB / 459.3 MB, free: 33.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.4823, allocations: 241.6 kB / 459.5 MB, free: 33.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.4843, allocations: 1.385 MB / 460.9 MB, free: 33.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4843, allocations: 0 / 460.9 MB, free: 33.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4843, allocations: 0 / 460.9 MB, free: 33.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.4843, allocations: 2.969 kB / 460.9 MB, free: 33.26 MB / 366.1 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.001168/0.4855, allocations: 0.9404 MB / 461.8 MB, free: 32.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4855, allocations: 8.75 kB / 461.8 MB, free: 32.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007276/0.4863, allocations: 164 kB / 462 MB, free: 32.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.4867, allocations: 437.2 kB / 462.4 MB, free: 32.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4868, allocations: 20.09 kB / 462.4 MB, free: 32.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.4868, allocations: 35.91 kB / 462.5 MB, free: 32.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.4875, allocations: 0.5266 MB / 463 MB, free: 32.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4875, allocations: 3.188 kB / 463 MB, free: 32.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.4876, allocations: 18.88 kB / 463 MB, free: 32.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4876, allocations: 12.94 kB / 463 MB, free: 32.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000936/0.4885, allocations: 0.7979 MB / 463.8 MB, free: 31.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.4905, allocations: 1.877 MB / 465.7 MB, free: 30.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.4909, allocations: 221.2 kB / 465.9 MB, free: 30.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.4911, allocations: 136.2 kB / 466.1 MB, free: 30.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002661/0.4938, allocations: 2.708 MB / 468.8 MB, free: 28.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.4938, allocations: 35.72 kB / 468.8 MB, free: 28.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.4938, allocations: 0 / 468.8 MB, free: 28.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005968/0.4944, allocations: 305.2 kB / 469.1 MB, free: 28.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.4944, allocations: 53.78 kB / 469.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.4949, allocations: 480.8 kB / 469.6 MB, free: 27.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.495, allocations: 29.7 kB / 469.7 MB, free: 27.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4951, allocations: 292 kB / 469.9 MB, free: 27.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.4952, allocations: 61.53 kB / 470 MB, free: 27.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4953, allocations: 97.09 kB / 470.1 MB, free: 27.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.4954, allocations: 362.2 kB / 470.4 MB, free: 27.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.4955, allocations: 92.94 kB / 470.5 MB, free: 27.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.4958, allocations: 366 kB / 470.9 MB, free: 26.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.4962, allocations: 0.4924 MB / 471.4 MB, free: 26.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4963, allocations: 3.531 kB / 471.4 MB, free: 26.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006939/0.497, allocations: 489.4 kB / 471.9 MB, free: 26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.497, allocations: 12.41 kB / 471.9 MB, free: 26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.497, allocations: 9.031 kB / 471.9 MB, free: 26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.497, allocations: 12.62 kB / 471.9 MB, free: 26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.4973, allocations: 108.1 kB / 472 MB, free: 25.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.4974, allocations: 21.06 kB / 472 MB, free: 25.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.4976, allocations: 57.97 kB / 472.1 MB, free: 25.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.4977, allocations: 41.22 kB / 472.1 MB, free: 25.93 MB / 366.1 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.0001513/0.4979, allocations: 176 kB / 472.3 MB, free: 25.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.4979, allocations: 47.39 kB / 472.3 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006921/0.4986, allocations: 393.8 kB / 472.7 MB, free: 25.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4987, allocations: 1.094 kB / 472.7 MB, free: 25.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4987, allocations: 0 / 472.7 MB, free: 25.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4987, allocations: 0 / 472.7 MB, free: 25.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.4993, allocations: 0.7196 MB / 473.4 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4993, allocations: 2.406 kB / 473.5 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.4994, allocations: 16.91 kB / 473.5 MB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.4994, allocations: 9.859 kB / 473.5 MB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4995, allocations: 2.406 kB / 473.5 MB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.4995, allocations: 2.312 kB / 473.5 MB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4995, allocations: 1.125 kB / 473.5 MB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.4997, allocations: 197 kB / 473.7 MB, free: 24.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.4998, allocations: 134.4 kB / 473.8 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.4999, allocations: 11.03 kB / 473.8 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.5, allocations: 2.906 kB / 473.8 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.5, allocations: 7.062 kB / 473.8 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.5, allocations: 11.38 kB / 473.8 MB, free: 24.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004326/0.5005, allocations: 413.4 kB / 474.2 MB, free: 24.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5005, allocations: 7.938 kB / 474.2 MB, free: 24.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007809/0.5013, allocations: 247.3 kB / 474.5 MB, free: 24.38 MB / 366.1 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.0006218/0.5019, allocations: 387.6 kB / 474.9 MB, free: 24.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.5023, allocations: 228.7 kB / 475.1 MB, free: 24.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5023, allocations: 1.125 kB / 475.1 MB, free: 24.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.5024, allocations: 36.89 kB / 475.1 MB, free: 24.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.503, allocations: 113.3 kB / 475.2 MB, free: 24.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009393/0.504, allocations: 0.7996 MB / 476 MB, free: 23.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.5042, allocations: 0.809 MB / 476.8 MB, free: 22.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000436/0.5046, allocations: 139.8 kB / 477 MB, free: 22.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.5047, allocations: 56.14 kB / 477 MB, free: 22.76 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5047, allocations: 0 / 477 MB, free: 22.76 MB / 366.1 MB Notification: Performance of Templates: time 0.01474/0.5195, allocations: 8.334 MB / 485.4 MB, free: 22.01 MB / 366.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.makefile (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1)