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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 114 kB / 16.42 MB, free: 6.512 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.001784/0.001784, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07829/0.07829, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 60.12 kB / 425.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08411, allocations: 53.62 MB / 479.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction): time 0.003744/0.08788, allocations: 2.977 MB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006248/0.09415, allocations: 6.265 MB / 488.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.09435, allocations: 7.938 kB / 488.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.09477, allocations: 154.8 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.09533, allocations: 254 kB / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.09707, allocations: 0.951 MB / 490.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.09765, allocations: 486.7 kB / 490.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.09789, allocations: 168.3 kB / 490.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.09812, allocations: 235.3 kB / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.09845, allocations: 243.2 kB / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.09852, allocations: 24 kB / 491.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.09957, allocations: 0.5577 MB / 491.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.09968, allocations: 83.69 kB / 491.8 MB, free: 9.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.09984, allocations: 183.1 kB / 492 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.1011, allocations: 1.012 MB / 493 MB, free: 8.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1011, allocations: 0 / 493 MB, free: 8.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1011, allocations: 0 / 493 MB, free: 8.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1011, allocations: 0 / 493 MB, free: 8.285 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009241/0.102, allocations: 0.7594 MB / 493.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1021, allocations: 12.03 kB / 493.8 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.1026, allocations: 108.2 kB / 493.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.1031, allocations: 375.9 kB / 494.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1031, allocations: 20.81 kB / 494.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.1032, allocations: 20.12 kB / 494.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.1037, allocations: 385.8 kB / 494.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1037, allocations: 0 / 494.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.1038, allocations: 8 kB / 494.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1038, allocations: 12 kB / 494.7 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.1045, allocations: 0.5436 MB / 495.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.1062, allocations: 1.411 MB / 496.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.1065, allocations: 166.5 kB / 496.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.1067, allocations: 93.7 kB / 496.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/0.1088, allocations: 1.904 MB / 498.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1088, allocations: 34.56 kB / 498.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1088, allocations: 0 / 498.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004173/0.1092, allocations: 213.3 kB / 499.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.1093, allocations: 55.41 kB / 499.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.1096, allocations: 369.5 kB / 499.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1097, allocations: 33.64 kB / 499.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1098, allocations: 227.5 kB / 499.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.1099, allocations: 47.3 kB / 499.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.1099, allocations: 73.59 kB / 499.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1101, allocations: 350.7 kB / 0.4885 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.1102, allocations: 67.91 kB / 0.4885 GB, free: 0.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1104, allocations: 236.9 kB / 0.4888 GB, free: 228 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.1108, allocations: 348.5 kB / 0.4891 GB, free: 15.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1108, allocations: 7.938 kB / 0.4891 GB, free: 15.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005063/0.1113, allocations: 341 kB / 0.4894 GB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1113, allocations: 8 kB / 0.4894 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1114, allocations: 8 kB / 0.4894 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1114, allocations: 8 kB / 0.4895 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1116, allocations: 83.83 kB / 0.4895 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.1116, allocations: 12.5 kB / 0.4895 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.1118, allocations: 43.53 kB / 0.4896 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.1119, allocations: 20 kB / 0.4896 GB, free: 15.26 MB / 382.1 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.0001454/0.112, allocations: 157.7 kB / 0.4898 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.1121, allocations: 31.62 kB / 0.4898 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/0.1126, allocations: 290.9 kB / 0.4901 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1126, allocations: 4 kB / 0.4901 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1126, allocations: 0 / 0.4901 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.1127, allocations: 116.6 kB / 0.4902 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.1127, allocations: 4 kB / 0.4902 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.1128, allocations: 0 / 0.4902 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.1128, allocations: 7.984 kB / 0.4902 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001618/0.113, allocations: 153 kB / 0.4903 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002102/0.1132, allocations: 302.3 kB / 0.4906 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.085e-05/0.1133, allocations: 19.98 kB / 0.4906 GB, free: 14.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.1136, allocations: 303.1 kB / 0.4909 GB, free: 13.83 MB / 382.1 MB Notification: Performance of Backend: time 1.9e-07/0.1136, allocations: 0 / 0.4909 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.1147, allocations: 0.5146 MB / 0.4914 GB, free: 13.3 MB / 382.1 MB Notification: Performance of SimCode: time 0.001203/0.1159, allocations: 1.084 MB / 0.4925 GB, free: 12.17 MB / 382.1 MB Notification: Performance of Templates: time 0.01378/0.1297, allocations: 8.341 MB / 0.5006 GB, free: 3.875 MB / 382.1 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)