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.00132/0.00132, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001534/0.001534, allocations: 217.5 kB / 23.01 MB, free: 5.125 MB / 14.72 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.945 MB / 206.1 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.1375/0.1375, allocations: 23.86 MB / 337 MB, free: 11.16 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 71.89 kB / 472.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3243, allocations: 59.86 MB / 0.5198 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003808/0.3281, allocations: 3.027 MB / 0.5228 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005954/0.334, allocations: 6.347 MB / 0.529 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.3343, allocations: 12.72 kB / 0.529 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.3348, allocations: 157.4 kB / 0.5291 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007173/0.3356, allocations: 254.7 kB / 0.5294 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.3378, allocations: 0.9732 MB / 0.5303 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.3386, allocations: 486.5 kB / 0.5308 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.3388, allocations: 151.6 kB / 0.5309 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003686/0.3392, allocations: 232.8 kB / 0.5311 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004726/0.3397, allocations: 249.8 kB / 0.5314 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.568e-05/0.3398, allocations: 25.03 kB / 0.5314 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.3414, allocations: 0.5594 MB / 0.532 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.3415, allocations: 82.45 kB / 0.532 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.3418, allocations: 183.9 kB / 0.5322 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.3439, allocations: 1.043 MB / 0.5332 GB, free: 1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3439, allocations: 0 / 0.5332 GB, free: 1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3439, allocations: 1.062 kB / 0.5332 GB, free: 1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.3439, allocations: 4 kB / 0.5332 GB, free: 0.9961 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001501/0.3454, allocations: 0.6937 MB / 0.5339 GB, free: 488 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3455, allocations: 10.06 kB / 0.5339 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006421/0.3461, allocations: 117.3 kB / 0.534 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.3467, allocations: 309.8 kB / 0.5343 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3468, allocations: 17 kB / 0.5343 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.3468, allocations: 22.69 kB / 0.5344 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.3474, allocations: 390.5 kB / 0.5347 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3474, allocations: 9.469 kB / 0.5347 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/0.3475, allocations: 9.531 kB / 0.5348 GB, free: 0 / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.3475, allocations: 7.625 kB / 0.5348 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.3484, allocations: 0.545 MB / 0.5353 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.3505, allocations: 1.368 MB / 0.5366 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.3509, allocations: 163.3 kB / 0.5368 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.351, allocations: 87.86 kB / 0.5369 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002119/0.3532, allocations: 0.9801 MB / 0.5378 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3532, allocations: 32.88 kB / 0.5379 GB, free: 14.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.3532, allocations: 0 / 0.5379 GB, free: 14.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005226/0.3537, allocations: 221.4 kB / 0.5381 GB, free: 14.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3538, allocations: 57.47 kB / 0.5381 GB, free: 14.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.3542, allocations: 375 kB / 0.5385 GB, free: 13.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.3542, allocations: 25.7 kB / 0.5385 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3544, allocations: 231.7 kB / 0.5387 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.3545, allocations: 49.8 kB / 0.5388 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3546, allocations: 69.98 kB / 0.5388 GB, free: 13.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3547, allocations: 345.9 kB / 0.5392 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3549, allocations: 61.2 kB / 0.5392 GB, free: 13.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.3551, allocations: 244.4 kB / 0.5395 GB, free: 13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.3556, allocations: 350.5 kB / 0.5398 GB, free: 12.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3556, allocations: 2.656 kB / 0.5398 GB, free: 12.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000611/0.3562, allocations: 344.4 kB / 0.5401 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3562, allocations: 14.27 kB / 0.5401 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3562, allocations: 10.94 kB / 0.5402 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3562, allocations: 9.625 kB / 0.5402 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.3565, allocations: 75.73 kB / 0.5402 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.3565, allocations: 13.55 kB / 0.5402 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.3567, allocations: 49.34 kB / 0.5403 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.3568, allocations: 24.61 kB / 0.5403 GB, free: 12.46 MB / 398.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.0001649/0.3569, allocations: 155.7 kB / 0.5405 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.357, allocations: 34.89 kB / 0.5405 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.3576, allocations: 281.5 kB / 0.5408 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3576, allocations: 1.281 kB / 0.5408 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3576, allocations: 1.469 kB / 0.5408 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3576, allocations: 4.547 kB / 0.5408 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/0.3584, allocations: 0.6033 MB / 0.5414 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3584, allocations: 5.156 kB / 0.5414 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.3585, allocations: 14.92 kB / 0.5414 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3585, allocations: 2.594 kB / 0.5414 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3585, allocations: 7.234 kB / 0.5414 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3585, allocations: 1.125 kB / 0.5414 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3585, allocations: 3 kB / 0.5414 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3587, allocations: 187 kB / 0.5416 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.3588, allocations: 38.72 kB / 0.5416 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.3589, allocations: 7.656 kB / 0.5416 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.359, allocations: 2.797 kB / 0.5416 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.359, allocations: 6.016 kB / 0.5416 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.359, allocations: 2.781 kB / 0.5416 GB, free: 11.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004144/0.3594, allocations: 316.9 kB / 0.5419 GB, free: 11.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3594, allocations: 1.219 kB / 0.5419 GB, free: 11.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006731/0.3601, allocations: 168.1 kB / 0.5421 GB, free: 11.24 MB / 398.1 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.0006343/0.3607, allocations: 319.5 kB / 0.5424 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.3611, allocations: 157.8 kB / 0.5426 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.3611, allocations: 0 / 0.5426 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.3612, allocations: 36.08 kB / 0.5426 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.3618, allocations: 101.6 kB / 0.5427 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.3628, allocations: 0.576 MB / 0.5432 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.3632, allocations: 0.7707 MB / 0.544 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3633, allocations: 68.89 kB / 0.5441 GB, free: 9.836 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3633, allocations: 0 / 0.5441 GB, free: 9.836 MB / 398.1 MB Notification: Performance of Templates: time 0.01129/0.3746, allocations: 5.904 MB / 0.5498 GB, free: 7.656 MB / 398.1 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: 7.870052206097171] Failed to read output from testmodel.py, exit status != 0: 0.3839273229241371 0.398642882 0.05150395299999994 Calling exit ...