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.001535/0.001535, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002067/0.002067, allocations: 211.3 kB / 22.99 MB, free: 4.957 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1459/0.1459, allocations: 23.87 MB / 337.1 MB, free: 11.06 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.001975/0.001975, allocations: 71.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3161, allocations: 59.86 MB / 0.5198 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003777/0.3199, allocations: 2.814 MB / 0.5225 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005555/0.3254, allocations: 5.552 MB / 0.5279 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.3257, allocations: 8.844 kB / 0.5279 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.3262, allocations: 141.7 kB / 0.5281 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006342/0.3268, allocations: 259.1 kB / 0.5283 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.3297, allocations: 0.9696 MB / 0.5293 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.3312, allocations: 497.3 kB / 0.5297 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.3317, allocations: 143.2 kB / 0.5299 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.3322, allocations: 234.1 kB / 0.5301 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006629/0.3328, allocations: 249.5 kB / 0.5303 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.385e-05/0.3329, allocations: 28.97 kB / 0.5304 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.3361, allocations: 0.5333 MB / 0.5309 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.3363, allocations: 82.28 kB / 0.531 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.3366, allocations: 151.4 kB / 0.5311 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.3391, allocations: 1.042 MB / 0.5321 GB, free: 2.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3391, allocations: 2.438 kB / 0.5321 GB, free: 2.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3391, allocations: 0 / 0.5321 GB, free: 2.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3391, allocations: 0 / 0.5321 GB, free: 2.105 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.001103/0.3402, allocations: 0.6943 MB / 0.5328 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3403, allocations: 9.125 kB / 0.5328 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005755/0.3409, allocations: 111.6 kB / 0.5329 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.3415, allocations: 319.9 kB / 0.5332 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.3415, allocations: 16.94 kB / 0.5332 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.3416, allocations: 22.34 kB / 0.5333 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.3422, allocations: 384.9 kB / 0.5336 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3422, allocations: 1.125 kB / 0.5336 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.3422, allocations: 10.86 kB / 0.5336 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3422, allocations: 5.844 kB / 0.5336 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.343, allocations: 0.5421 MB / 0.5342 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.3446, allocations: 1.282 MB / 0.5354 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.345, allocations: 158.2 kB / 0.5356 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.3453, allocations: 87.89 kB / 0.5357 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002145/0.3474, allocations: 0.9323 MB / 0.5366 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3474, allocations: 37.19 kB / 0.5366 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3474, allocations: 3.938 kB / 0.5366 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004907/0.3479, allocations: 214.7 kB / 0.5368 GB, free: 15.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.348, allocations: 52.47 kB / 0.5369 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.3483, allocations: 357 kB / 0.5372 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3484, allocations: 27.17 kB / 0.5372 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.3485, allocations: 235.5 kB / 0.5375 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.3486, allocations: 50.64 kB / 0.5375 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3487, allocations: 69.41 kB / 0.5376 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3489, allocations: 345.3 kB / 0.5379 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.349, allocations: 65.31 kB / 0.538 GB, free: 14.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.3492, allocations: 246.3 kB / 0.5382 GB, free: 14.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.3497, allocations: 339.4 kB / 0.5385 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.3497, allocations: 2.75 kB / 0.5385 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000567/0.3502, allocations: 346.5 kB / 0.5389 GB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3503, allocations: 8 kB / 0.5389 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3503, allocations: 7.25 kB / 0.5389 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.3503, allocations: 8.219 kB / 0.5389 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.3505, allocations: 83.86 kB / 0.539 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.3506, allocations: 15 kB / 0.539 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3508, allocations: 31.41 kB / 0.539 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.3508, allocations: 29.16 kB / 0.539 GB, free: 13.68 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.0001738/0.351, allocations: 159.8 kB / 0.5392 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.351, allocations: 34.36 kB / 0.5392 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.3516, allocations: 287 kB / 0.5395 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.3516, allocations: 1.891 kB / 0.5395 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3516, allocations: 3.938 kB / 0.5395 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3516, allocations: 1.672 kB / 0.5395 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.3523, allocations: 0.5508 MB / 0.54 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3523, allocations: 1.375 kB / 0.54 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.3524, allocations: 11.83 kB / 0.54 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.3524, allocations: 7.062 kB / 0.54 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3524, allocations: 5.281 kB / 0.5401 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3524, allocations: 2.562 kB / 0.5401 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.3524, allocations: 6.094 kB / 0.5401 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3527, allocations: 171.3 kB / 0.5402 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.3527, allocations: 33.56 kB / 0.5403 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.3528, allocations: 15.11 kB / 0.5403 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.3529, allocations: 6.469 kB / 0.5403 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.3529, allocations: 9.75 kB / 0.5403 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3529, allocations: 7.219 kB / 0.5403 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003497/0.3533, allocations: 280.3 kB / 0.5406 GB, free: 12.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3533, allocations: 5.312 kB / 0.5406 GB, free: 12.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007151/0.354, allocations: 172.8 kB / 0.5407 GB, free: 12.49 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.0005592/0.3545, allocations: 296.1 kB / 0.541 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.3549, allocations: 161.2 kB / 0.5412 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3549, allocations: 0 / 0.5412 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.919e-05/0.3549, allocations: 28.72 kB / 0.5412 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3554, allocations: 80.75 kB / 0.5413 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.3563, allocations: 0.5533 MB / 0.5418 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.3565, allocations: 170.8 kB / 0.542 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002465/0.3567, allocations: 87.58 kB / 0.5421 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.3568, allocations: 39.86 kB / 0.5421 GB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3568, allocations: 0 / 0.5421 GB, free: 11.74 MB / 398.1 MB Notification: Performance of Templates: time 0.01391/0.3707, allocations: 6.491 MB / 0.5484 GB, free: 9.453 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.84543701801158] Failed to read output from testmodel.py, exit status != 0: 0.3793007200001739 0.39412035 0.0518013 Calling exit ...