Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001433/0.001433, allocations: 88.72 kB / 19.44 MB, free: 356 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.002045/0.002045, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1367/0.1367, allocations: 17.36 MB / 276.9 MB, free: 11.68 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.793e-05, allocations: 9.266 kB / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.005056/0.005084, allocations: 2.819 MB / 355.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008684/0.01377, allocations: 5.541 MB / 361.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.01412, allocations: 7.938 kB / 361.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.0147, allocations: 138.8 kB / 361.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009381/0.01564, allocations: 273.8 kB / 361.5 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.01826, allocations: 0.9972 MB / 362.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009305/0.01919, allocations: 0.4985 MB / 363 MB, free: 8 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.01957, allocations: 144.7 kB / 363.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005139/0.02009, allocations: 307.4 kB / 363.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.02054, allocations: 207.5 kB / 363.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.02062, allocations: 24 kB / 363.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.02192, allocations: 0.5301 MB / 364.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.02206, allocations: 87.66 kB / 364.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.02229, allocations: 131.7 kB / 364.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.02433, allocations: 1.093 MB / 365.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.02434, allocations: 0 / 365.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.02434, allocations: 0 / 365.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.02436, allocations: 0 / 365.5 MB, free: 13.5 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.001428/0.02578, allocations: 0.6832 MB / 366.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.02582, allocations: 8.031 kB / 366.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007424/0.02657, allocations: 183.7 kB / 366.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007211/0.02729, allocations: 325.5 kB / 366.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.02732, allocations: 16.88 kB / 366.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.02737, allocations: 24.38 kB / 366.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007413/0.02811, allocations: 383.2 kB / 367.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.02813, allocations: 7.938 kB / 367.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.02817, allocations: 8 kB / 367.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.02818, allocations: 11.98 kB / 367.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009753/0.02916, allocations: 0.5433 MB / 367.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.03139, allocations: 1.282 MB / 368.9 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.03178, allocations: 150.5 kB / 369.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.03198, allocations: 88.81 kB / 369.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002239/0.03422, allocations: 0.9797 MB / 370.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.03426, allocations: 34.56 kB / 370.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.03426, allocations: 0 / 370.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005746/0.03484, allocations: 225.4 kB / 370.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.03489, allocations: 51.41 kB / 370.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.03535, allocations: 353.5 kB / 370.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.03538, allocations: 29.7 kB / 370.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.03561, allocations: 239.9 kB / 371.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.03566, allocations: 43.64 kB / 371.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.03578, allocations: 69.66 kB / 371.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.03599, allocations: 346.7 kB / 371.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.03613, allocations: 59.97 kB / 371.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.03644, allocations: 256.7 kB / 371.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.03698, allocations: 352.5 kB / 372.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.03699, allocations: 0 / 372.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006744/0.03766, allocations: 361 kB / 372.5 MB, free: 6.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.03768, allocations: 8 kB / 372.5 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.03769, allocations: 8 kB / 372.5 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.03772, allocations: 8 kB / 372.5 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.03797, allocations: 79.84 kB / 372.6 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.03799, allocations: 12.56 kB / 372.6 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.0382, allocations: 39.77 kB / 372.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.03824, allocations: 20 kB / 372.7 MB, free: 5.867 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.0001971/0.03844, allocations: 157.7 kB / 372.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.03852, allocations: 39.77 kB / 372.9 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/0.03912, allocations: 287.1 kB / 373.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.03912, allocations: 0 / 373.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.03912, allocations: 0 / 373.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.03913, allocations: 4 kB / 373.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007931/0.03992, allocations: 0.553 MB / 373.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.03993, allocations: 4 kB / 373.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/0.03999, allocations: 8 kB / 373.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.04, allocations: 4 kB / 373.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.04001, allocations: 7.875 kB / 373.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.04001, allocations: 4 kB / 373.7 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.04002, allocations: 8.109 kB / 373.8 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.04028, allocations: 173.1 kB / 373.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.04037, allocations: 39.75 kB / 374 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.04042, allocations: 7.938 kB / 374 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.04052, allocations: 0 / 374 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.04054, allocations: 7.938 kB / 374 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.04055, allocations: 4 kB / 374 MB, free: 4.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003705/0.04092, allocations: 283.1 kB / 374.3 MB, free: 4.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04092, allocations: 0 / 374.3 MB, free: 4.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007136/0.04163, allocations: 175.4 kB / 374.4 MB, free: 4 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.0007436/0.04238, allocations: 307 kB / 374.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.04274, allocations: 160.9 kB / 374.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.04274, allocations: 0.5 kB / 374.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.647e-05/0.0428, allocations: 31.92 kB / 374.9 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.04333, allocations: 84.86 kB / 375 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.04435, allocations: 0.5252 MB / 375.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.04455, allocations: 168.8 kB / 375.7 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.04484, allocations: 93.94 kB / 375.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.04494, allocations: 44.48 kB / 375.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04495, allocations: 0 / 375.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of Templates: time 0.01254/0.05748, allocations: 6.02 MB / 381.8 MB, free: 12.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.699490586994216]