Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.00142/0.00142, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 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.001562/0.001562, allocations: 161.3 kB / 22.75 MB, free: 1.66 MB / 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 1.482/1.482, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1392/0.1392, allocations: 17.45 MB / 277 MB, free: 11.61 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.271e-05, allocations: 2.312 kB / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.006039/0.006071, allocations: 2.818 MB / 355.6 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.01635, allocations: 5.545 MB / 361.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.01681, allocations: 11.88 kB / 361.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006942/0.0175, allocations: 142.8 kB / 361.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.01855, allocations: 265.8 kB / 361.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.0217, allocations: 1.001 MB / 362.6 MB, free: 392 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.02274, allocations: 0.4985 MB / 363.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.02313, allocations: 148.7 kB / 363.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.02367, allocations: 303.4 kB / 363.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/0.02416, allocations: 207.5 kB / 363.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.587e-05/0.02425, allocations: 28 kB / 363.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.02579, allocations: 0.5262 MB / 364.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.02594, allocations: 87.66 kB / 364.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.02615, allocations: 127.7 kB / 364.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.02839, allocations: 1.093 MB / 365.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.02839, allocations: 4 kB / 365.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02839, allocations: 0 / 365.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.0284, allocations: 0 / 365.6 MB, free: 13.37 MB / 298.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.001281/0.02968, allocations: 0.6909 MB / 366.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.02972, allocations: 8.031 kB / 366.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006948/0.03042, allocations: 175.7 kB / 366.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.0311, allocations: 333.6 kB / 366.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.03112, allocations: 16.81 kB / 366.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.03118, allocations: 24.38 kB / 366.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.03191, allocations: 383.2 kB / 367.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.03193, allocations: 7.875 kB / 367.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.03197, allocations: 12 kB / 367.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.03198, allocations: 8 kB / 367.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009748/0.03296, allocations: 0.5356 MB / 367.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.03509, allocations: 1.282 MB / 369 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.03548, allocations: 154.5 kB / 369.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.03569, allocations: 92.81 kB / 369.3 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/0.03792, allocations: 0.972 MB / 370.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.03797, allocations: 38.5 kB / 370.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.03797, allocations: 0 / 370.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005476/0.03852, allocations: 224.2 kB / 370.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.03857, allocations: 55.39 kB / 370.6 MB, free: 8.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.039, allocations: 349.5 kB / 370.9 MB, free: 7.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.03903, allocations: 33.69 kB / 370.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.03926, allocations: 231.9 kB / 371.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.03931, allocations: 47.64 kB / 371.2 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.03942, allocations: 73.64 kB / 371.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.03962, allocations: 342.8 kB / 371.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.03975, allocations: 63.95 kB / 371.7 MB, free: 7.043 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.04006, allocations: 244.7 kB / 371.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.04056, allocations: 352.5 kB / 372.3 MB, free: 6.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.04056, allocations: 3.938 kB / 372.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006345/0.0412, allocations: 365.4 kB / 372.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.04122, allocations: 8 kB / 372.6 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.04123, allocations: 8 kB / 372.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.04126, allocations: 8 kB / 372.7 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.04151, allocations: 79.84 kB / 372.7 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.04153, allocations: 11.98 kB / 372.7 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.04172, allocations: 35.78 kB / 372.8 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.04182, allocations: 24 kB / 372.8 MB, free: 5.742 MB / 298.7 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.0001923/0.04202, allocations: 169.8 kB / 373 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.04209, allocations: 35.77 kB / 373 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.04269, allocations: 279.2 kB / 373.3 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.04269, allocations: 0 / 373.3 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.04269, allocations: 0 / 373.3 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.0427, allocations: 4 kB / 373.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.04344, allocations: 0.5568 MB / 373.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.04344, allocations: 4 kB / 373.8 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.0435, allocations: 8 kB / 373.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.04351, allocations: 4 kB / 373.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.04352, allocations: 7.984 kB / 373.9 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.04353, allocations: 4 kB / 373.9 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.04353, allocations: 3.938 kB / 373.9 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.04377, allocations: 165.2 kB / 374 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.04384, allocations: 35.94 kB / 374.1 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.04389, allocations: 11.94 kB / 374.1 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.04398, allocations: 4 kB / 374.1 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.04401, allocations: 11.92 kB / 374.1 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.04402, allocations: 7.938 kB / 374.1 MB, free: 4.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.04437, allocations: 275.2 kB / 374.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04437, allocations: 0 / 374.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006135/0.04498, allocations: 179.4 kB / 374.5 MB, free: 3.875 MB / 298.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.0005977/0.04558, allocations: 310.3 kB / 374.8 MB, free: 3.562 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.04591, allocations: 159.6 kB / 375 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.04591, allocations: 1.75 kB / 375 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.224e-05/0.04596, allocations: 27.92 kB / 375 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.04647, allocations: 84.12 kB / 375.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.04744, allocations: 0.5209 MB / 375.6 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.04763, allocations: 176.8 kB / 375.8 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002711/0.0479, allocations: 90.69 kB / 375.9 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.048, allocations: 44.42 kB / 375.9 MB, free: 2.414 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.048, allocations: 0 / 375.9 MB, free: 2.414 MB / 298.7 MB Notification: Performance of Templates: time 0.01234/0.06035, allocations: 6.024 MB / 382 MB, free: 12.47 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.630792030948214]