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.0007685/0.0007685, allocations: 76.45 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007957/0.0007957, allocations: 177.9 kB / 23.22 MB, free: 1.34 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 0.8375/0.8375, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08031/0.08031, allocations: 17.36 MB / 277.3 MB, free: 11.85 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.533e-06/1.533e-06, allocations: 0 / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.272e-05, allocations: 6.219 kB / 412.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002597/0.00262, allocations: 2.815 MB / 415.5 MB, free: 13.08 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.00651, allocations: 5.526 MB / 421.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.006636, allocations: 15.88 kB / 421.1 MB, free: 7.516 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.00695, allocations: 142.8 kB / 421.2 MB, free: 7.375 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.007322, allocations: 261.8 kB / 421.5 MB, free: 7.117 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.008328, allocations: 1.001 MB / 422.5 MB, free: 6.109 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.008747, allocations: 0.5062 MB / 423 MB, free: 5.602 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.00893, allocations: 140.7 kB / 423.1 MB, free: 5.461 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.009245, allocations: 299.5 kB / 423.4 MB, free: 5.168 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.009452, allocations: 211.5 kB / 423.6 MB, free: 4.961 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.009485, allocations: 28 kB / 423.6 MB, free: 4.934 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005709/0.01006, allocations: 0.5262 MB / 424.2 MB, free: 4.406 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.01013, allocations: 83.72 kB / 424.2 MB, free: 4.324 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.01021, allocations: 123.7 kB / 424.4 MB, free: 4.203 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008408/0.01106, allocations: 1.097 MB / 425.5 MB, free: 3.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01106, allocations: 0 / 425.5 MB, free: 3.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01106, allocations: 4 kB / 425.5 MB, free: 3.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.01106, allocations: 4 kB / 425.5 MB, free: 3.094 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.0006343/0.0117, allocations: 0.6871 MB / 426.2 MB, free: 2.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.01173, allocations: 8.031 kB / 426.2 MB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.01201, allocations: 112.4 kB / 426.3 MB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.01236, allocations: 321.5 kB / 426.6 MB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.01237, allocations: 16.88 kB / 426.6 MB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.0124, allocations: 28.31 kB / 426.6 MB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.01277, allocations: 379.2 kB / 427 MB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.01278, allocations: 7.875 kB / 427 MB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.0128, allocations: 11.94 kB / 427 MB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.01281, allocations: 12 kB / 427 MB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.0133, allocations: 0.5356 MB / 427.6 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01432, allocations: 1.278 MB / 428.9 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.01454, allocations: 154.4 kB / 429 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.01465, allocations: 88.83 kB / 429.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.01565, allocations: 0.948 MB / 430 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.01567, allocations: 30.56 kB / 430.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.01567, allocations: 0 / 430.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003066/0.01597, allocations: 217.4 kB / 430.3 MB, free: 14.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.01601, allocations: 59.34 kB / 430.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.01636, allocations: 349.5 kB / 430.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.01638, allocations: 29.7 kB / 430.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01648, allocations: 239.9 kB / 430.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.0165, allocations: 47.64 kB / 431 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.01656, allocations: 65.66 kB / 431.1 MB, free: 13.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.01665, allocations: 346.8 kB / 431.4 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.01672, allocations: 67.95 kB / 431.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.01686, allocations: 244.8 kB / 431.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.01711, allocations: 344.5 kB / 432 MB, free: 12.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01711, allocations: 4 kB / 432 MB, free: 12.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003205/0.01743, allocations: 349.5 kB / 432.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01745, allocations: 8 kB / 432.4 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01746, allocations: 4 kB / 432.4 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01747, allocations: 8 kB / 432.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.0176, allocations: 71.91 kB / 432.5 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01761, allocations: 15.92 kB / 432.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.01771, allocations: 39.73 kB / 432.5 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.01773, allocations: 24 kB / 432.5 MB, free: 11.6 MB / 410.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 9.597e-05/0.01782, allocations: 161.6 kB / 432.7 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.01786, allocations: 35.91 kB / 432.7 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.01817, allocations: 283.5 kB / 433 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01817, allocations: 0 / 433 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01817, allocations: 0 / 433 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01817, allocations: 0 / 433 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.01854, allocations: 0.5531 MB / 433.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01854, allocations: 4 kB / 433.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.01857, allocations: 15.92 kB / 433.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01857, allocations: 4 kB / 433.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.01858, allocations: 0 / 433.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01858, allocations: 7.938 kB / 433.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01858, allocations: 3.938 kB / 433.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.0187, allocations: 169.1 kB / 433.8 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.01874, allocations: 35.8 kB / 433.8 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01876, allocations: 7.953 kB / 433.8 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-05/0.0188, allocations: 8.156 kB / 433.8 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.01882, allocations: 11.92 kB / 433.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.01883, allocations: 4 kB / 433.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.019, allocations: 279.2 kB / 434.1 MB, free: 9.918 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.019, allocations: 0 / 434.1 MB, free: 9.918 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.01932, allocations: 175.4 kB / 434.3 MB, free: 9.746 MB / 410.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.0003294/0.01965, allocations: 310.9 kB / 434.6 MB, free: 9.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.01984, allocations: 163.8 kB / 434.7 MB, free: 9.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01984, allocations: 3.938 kB / 434.7 MB, free: 9.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.01987, allocations: 33.55 kB / 434.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.02015, allocations: 72.61 kB / 434.8 MB, free: 9.164 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.0207, allocations: 0.548 MB / 435.4 MB, free: 8.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.361e-05/0.0208, allocations: 164.8 kB / 435.6 MB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.02088, allocations: 68.47 kB / 435.6 MB, free: 8.32 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02088, allocations: 3.938 kB / 435.6 MB, free: 8.316 MB / 410.7 MB Notification: Performance of Templates: time 0.005143/0.02602, allocations: 5.791 MB / 441.4 MB, free: 2.555 MB / 410.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.667498693801463] Failed to read output from testmodel.py, exit status != 0: 0.031048158183693886 0.183312352 0.170961362 Calling exit ...