Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1473/0.1473, allocations: 15.26 MB / 31.21 MB, free: 3.23 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 178.7 kB / 36.29 MB, free: 2.266 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.3 MB / 264.5 MB, free: 6.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007994/0.0007995, allocations: 96.72 kB / 319.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 11.62 kB / 385.2 MB, free: 50.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 54.65 MB / 439.8 MB, free: 68 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/0.5344, allocations: 95.03 MB / 0.5223 GB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.5346, allocations: 69.77 kB / 0.5224 GB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03887/0.5735, allocations: 15.69 MB / 0.5377 GB, free: 30.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.409e-06/0.5736, allocations: 0 / 0.5377 GB, free: 30.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.373e-05/0.5736, allocations: 13.88 kB / 0.5377 GB, free: 30.32 MB / 394.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.001477/0.5751, allocations: 0.6896 MB / 0.5384 GB, free: 29.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.5752, allocations: 10.84 kB / 0.5384 GB, free: 29.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006343/0.5758, allocations: 131.2 kB / 0.5385 GB, free: 29.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.5766, allocations: 340.3 kB / 0.5389 GB, free: 29.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.5766, allocations: 15.88 kB / 0.5389 GB, free: 29.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.5767, allocations: 25.27 kB / 0.5389 GB, free: 29.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009728/0.5777, allocations: 0.6763 MB / 0.5396 GB, free: 29.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5777, allocations: 5.562 kB / 0.5396 GB, free: 29.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.5777, allocations: 5.438 kB / 0.5396 GB, free: 29.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.5778, allocations: 5.125 kB / 0.5396 GB, free: 29.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.579, allocations: 1.193 MB / 0.5407 GB, free: 29.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.5819, allocations: 2.314 MB / 0.543 GB, free: 28.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/0.582, allocations: 53.67 kB / 0.5431 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.5821, allocations: 26.84 kB / 0.5431 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.5821, allocations: 0 / 0.5431 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.5821, allocations: 30.56 kB / 0.5431 GB, free: 28.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.5821, allocations: 3.906 kB / 0.5431 GB, free: 28.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003012/0.5824, allocations: 126.4 kB / 0.5432 GB, free: 28.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.5825, allocations: 59.28 kB / 0.5433 GB, free: 28.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.5838, allocations: 1.382 MB / 0.5446 GB, free: 28.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.5838, allocations: 25.7 kB / 0.5447 GB, free: 28.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.584, allocations: 261.7 kB / 0.5449 GB, free: 28.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.584, allocations: 22.53 kB / 0.5449 GB, free: 28.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.584, allocations: 3.812 kB / 0.5449 GB, free: 28.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5842, allocations: 347.8 kB / 0.5453 GB, free: 27.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.5846, allocations: 409.7 kB / 0.5457 GB, free: 27.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.585, allocations: 0.562 MB / 0.5462 GB, free: 27.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.5856, allocations: 0.6217 MB / 0.5468 GB, free: 27.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5856, allocations: 3.938 kB / 0.5468 GB, free: 27.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001091/0.5867, allocations: 1.006 MB / 0.5478 GB, free: 27.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.5867, allocations: 10.06 kB / 0.5478 GB, free: 27.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5867, allocations: 11.62 kB / 0.5478 GB, free: 27.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5868, allocations: 3.938 kB / 0.5478 GB, free: 27.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.5871, allocations: 88.83 kB / 0.5479 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5871, allocations: 11.56 kB / 0.5479 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.5875, allocations: 46.72 kB / 0.548 GB, free: 27.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.5875, allocations: 27.08 kB / 0.548 GB, free: 27.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.5877, allocations: 151.6 kB / 0.5481 GB, free: 27.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.5878, allocations: 35.19 kB / 0.5482 GB, free: 27.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.588, allocations: 122.2 kB / 0.5483 GB, free: 27.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.588, allocations: 0 / 0.5483 GB, free: 27.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.588, allocations: 0 / 0.5483 GB, free: 27.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.588, allocations: 0 / 0.5483 GB, free: 27.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007685/0.5888, allocations: 0.6727 MB / 0.5489 GB, free: 26.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5888, allocations: 0 / 0.5489 GB, free: 26.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.5889, allocations: 22.81 kB / 0.549 GB, free: 26.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5889, allocations: 0 / 0.549 GB, free: 26.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5889, allocations: 3.875 kB / 0.549 GB, free: 26.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5889, allocations: 3.938 kB / 0.549 GB, free: 26.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5889, allocations: 3.875 kB / 0.549 GB, free: 26.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.5891, allocations: 167.3 kB / 0.5491 GB, free: 26.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.5893, allocations: 154.7 kB / 0.5493 GB, free: 26.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.5894, allocations: 7.5 kB / 0.5493 GB, free: 26.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.5895, allocations: 7.844 kB / 0.5493 GB, free: 26.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.5895, allocations: 7.688 kB / 0.5493 GB, free: 26.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.5895, allocations: 3.938 kB / 0.5493 GB, free: 26.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008689/0.5904, allocations: 1.072 MB / 0.5504 GB, free: 26.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5904, allocations: 0 / 0.5504 GB, free: 26.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008037/0.5912, allocations: 244 kB / 0.5506 GB, free: 26.18 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008081/0.5921, allocations: 380.3 kB / 0.551 GB, free: 26.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006063/0.5927, allocations: 0.4975 MB / 0.5514 GB, free: 26.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5927, allocations: 1.375 kB / 0.5514 GB, free: 26.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.5927, allocations: 29.25 kB / 0.5515 GB, free: 26.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/0.5934, allocations: 94.41 kB / 0.5516 GB, free: 26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008774/0.5942, allocations: 0.6466 MB / 0.5522 GB, free: 25.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.5946, allocations: 0.7742 MB / 0.5529 GB, free: 24.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.5948, allocations: 80.08 kB / 0.553 GB, free: 24.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.5949, allocations: 38.3 kB / 0.5531 GB, free: 24.86 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5949, allocations: 0 / 0.5531 GB, free: 24.86 MB / 394.7 MB Notification: Performance of Templates: time 0.01348/0.6084, allocations: 8.46 MB / 0.5613 GB, free: 21.38 MB / 394.7 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.makefile (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1)