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.001271/0.001271, allocations: 113.5 kB / 16.42 MB, free: 6.453 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.001203/0.001203, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.298/1.298, 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.07153/0.07153, allocations: 15.32 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.89 kB / 425.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08884, allocations: 53.62 MB / 479.5 MB, free: 5.793 MB / 350.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.03098/0.1199, allocations: 23.01 MB / 0.4907 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00941/0.1293, allocations: 9.167 MB / 0.4997 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.1296, allocations: 7.938 kB / 0.4997 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.1302, allocations: 218.5 kB / 0.4999 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007071/0.1309, allocations: 349.3 kB / 0.5002 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.1335, allocations: 1.417 MB / 0.5016 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007323/0.1342, allocations: 0.6697 MB / 0.5022 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.1346, allocations: 237.2 kB / 0.5025 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.1349, allocations: 323.2 kB / 0.5028 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.1353, allocations: 342.8 kB / 0.5031 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.1354, allocations: 36 kB / 0.5031 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.137, allocations: 0.8229 MB / 0.5039 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1371, allocations: 119.6 kB / 0.5041 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.1374, allocations: 262.7 kB / 0.5043 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1929/0.3302, allocations: 1.496 MB / 0.5058 GB, free: 22.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3303, allocations: 0.7969 kB / 0.5058 GB, free: 22.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3303, allocations: 3.375 kB / 0.5058 GB, free: 22.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.3303, allocations: 0 / 0.5058 GB, free: 22.08 MB / 382.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.001367/0.3317, allocations: 0.9276 MB / 0.5067 GB, free: 21.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3317, allocations: 11.62 kB / 0.5067 GB, free: 21.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007804/0.3325, allocations: 162.8 kB / 0.5069 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.3331, allocations: 453.1 kB / 0.5073 GB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3331, allocations: 26.83 kB / 0.5073 GB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.3332, allocations: 29.34 kB / 0.5073 GB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.334, allocations: 0.5352 MB / 0.5079 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.334, allocations: 1.062 kB / 0.5079 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.334, allocations: 14.38 kB / 0.5079 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3341, allocations: 9.719 kB / 0.5079 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.3352, allocations: 0.8013 MB / 0.5087 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.3373, allocations: 1.878 MB / 0.5105 GB, free: 20.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.3376, allocations: 220.4 kB / 0.5107 GB, free: 20.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.3378, allocations: 131.1 kB / 0.5108 GB, free: 20.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/0.3404, allocations: 2.709 MB / 0.5135 GB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.3404, allocations: 40.53 kB / 0.5135 GB, free: 18.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.3404, allocations: 4.016 kB / 0.5135 GB, free: 18.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005308/0.3409, allocations: 288.6 kB / 0.5138 GB, free: 17.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.595e-05/0.341, allocations: 54.16 kB / 0.5138 GB, free: 17.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.3414, allocations: 481.6 kB / 0.5143 GB, free: 17.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3415, allocations: 27.14 kB / 0.5143 GB, free: 17.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.3416, allocations: 292.5 kB / 0.5146 GB, free: 17.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.3417, allocations: 65.22 kB / 0.5147 GB, free: 17.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3418, allocations: 98.75 kB / 0.5148 GB, free: 17.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.3419, allocations: 357.8 kB / 0.5151 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.342, allocations: 94.2 kB / 0.5152 GB, free: 17.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.3423, allocations: 356.2 kB / 0.5155 GB, free: 16.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.3427, allocations: 0.4931 MB / 0.516 GB, free: 16.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3427, allocations: 3.156 kB / 0.516 GB, free: 16.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006821/0.3434, allocations: 481.4 kB / 0.5165 GB, free: 16.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3434, allocations: 9.781 kB / 0.5165 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3434, allocations: 8.812 kB / 0.5165 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.3435, allocations: 16.03 kB / 0.5165 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.3438, allocations: 114.9 kB / 0.5166 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.3438, allocations: 18.7 kB / 0.5166 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.3441, allocations: 60.38 kB / 0.5167 GB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.3442, allocations: 37.66 kB / 0.5167 GB, free: 16.45 MB / 382.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.0001451/0.3443, allocations: 181.3 kB / 0.5169 GB, free: 16.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.3444, allocations: 48.97 kB / 0.517 GB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/0.345, allocations: 391.5 kB / 0.5173 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.345, allocations: 0.7031 kB / 0.5173 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3451, allocations: 1.094 kB / 0.5173 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.3451, allocations: 121.9 kB / 0.5174 GB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.3452, allocations: 6.734 kB / 0.5175 GB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3453, allocations: 5.719 kB / 0.5175 GB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.3454, allocations: 8.594 kB / 0.5175 GB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001624/0.3455, allocations: 172.8 kB / 0.5176 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001953/0.3457, allocations: 306.2 kB / 0.5179 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.96e-05/0.3458, allocations: 27.59 kB / 0.518 GB, free: 15.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004708/0.3463, allocations: 393.6 kB / 0.5183 GB, free: 15.61 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.3463, allocations: 0 / 0.5183 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.348, allocations: 0.7324 MB / 0.519 GB, free: 15.46 MB / 382.1 MB Notification: Performance of SimCode: time 0.001333/0.3494, allocations: 1.253 MB / 0.5203 GB, free: 14.67 MB / 382.1 MB Notification: Performance of Templates: time 0.01571/0.3651, allocations: 11.71 MB / 0.5317 GB, free: 11.93 MB / 382.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)