Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 186.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.085/0.085, allocations: 15.54 MB / 321.8 MB, free: 9.031 MB / 254.1 MB
"
[Timeout remaining time 180]
Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction")
translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 450.6 MB, free: 9.68 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09815, allocations: 56.59 MB / 0.4953 GB, free: 0.9805 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction): time 0.004331/0.1025, allocations: 3.005 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007432/0.1099, allocations: 6.32 MB / 0.5044 GB, free: 7.609 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.1101, allocations: 11.88 kB / 0.5044 GB, free: 7.598 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.1106, allocations: 154.8 kB / 0.5046 GB, free: 7.445 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006554/0.1112, allocations: 250.1 kB / 0.5048 GB, free: 7.199 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.1131, allocations: 0.9744 MB / 0.5058 GB, free: 6.219 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006874/0.1138, allocations: 490.6 kB / 0.5062 GB, free: 5.738 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.1141, allocations: 144.6 kB / 0.5064 GB, free: 5.598 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.1144, allocations: 235.3 kB / 0.5066 GB, free: 5.367 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.1148, allocations: 255.1 kB / 0.5068 GB, free: 5.117 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.1148, allocations: 24 kB / 0.5069 GB, free: 5.094 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.116, allocations: 0.5499 MB / 0.5074 GB, free: 4.543 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.1161, allocations: 91.61 kB / 0.5075 GB, free: 4.453 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.1163, allocations: 191.1 kB / 0.5077 GB, free: 4.266 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001487/0.1178, allocations: 1.023 MB / 0.5087 GB, free: 3.238 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1178, allocations: 0 / 0.5087 GB, free: 3.238 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.1178, allocations: 0 / 0.5087 GB, free: 3.238 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 9.357e-06/0.1178, allocations: 0 / 0.5087 GB, free: 3.238 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.001092/0.1189, allocations: 0.6947 MB / 0.5093 GB, free: 2.508 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1189, allocations: 8.031 kB / 0.5093 GB, free: 2.5 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005322/0.1195, allocations: 120.4 kB / 0.5095 GB, free: 2.383 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.12, allocations: 302.3 kB / 0.5097 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.1201, allocations: 20.8 kB / 0.5098 GB, free: 2.043 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.1201, allocations: 28.12 kB / 0.5098 GB, free: 2.016 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.1207, allocations: 377.9 kB / 0.5102 GB, free: 1.621 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1207, allocations: 3.938 kB / 0.5102 GB, free: 1.617 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.1208, allocations: 8 kB / 0.5102 GB, free: 1.609 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1208, allocations: 8 kB / 0.5102 GB, free: 1.602 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008219/0.1216, allocations: 0.5475 MB / 0.5107 GB, free: 1.055 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1736/0.2952, allocations: 1.371 MB / 0.512 GB, free: 22.15 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.2955, allocations: 155.4 kB / 0.5122 GB, free: 22.13 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2957, allocations: 86.72 kB / 0.5123 GB, free: 22.12 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.2972, allocations: 0.9677 MB / 0.5132 GB, free: 21.88 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.2973, allocations: 37.03 kB / 0.5133 GB, free: 21.84 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2973, allocations: 0 / 0.5133 GB, free: 21.84 MB / 382.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0003935/0.2977, allocations: 226.8 kB / 0.5135 GB, free: 21.8 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.2977, allocations: 54 kB / 0.5135 GB, free: 21.74 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.298, allocations: 377.7 kB / 0.5139 GB, free: 21.62 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.298, allocations: 29.45 kB / 0.5139 GB, free: 21.59 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.269e-05/0.2981, allocations: 229.1 kB / 0.5141 GB, free: 21.46 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.2981, allocations: 51.91 kB / 0.5142 GB, free: 21.44 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.2982, allocations: 72 kB / 0.5143 GB, free: 21.42 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 5.28e-05/0.2982, allocations: 344 kB / 0.5146 GB, free: 21.11 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.2983, allocations: 61.02 kB / 0.5146 GB, free: 21.11 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2985, allocations: 245.3 kB / 0.5149 GB, free: 20.88 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.2987, allocations: 350.2 kB / 0.5152 GB, free: 20.65 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.2988, allocations: 1.781 kB / 0.5152 GB, free: 20.65 MB / 382.1 MB
Notification: Performance of matching and sorting (n=35) (initialization): time 0.00043/0.2992, allocations: 355.9 kB / 0.5155 GB, free: 20.59 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2992, allocations: 11.16 kB / 0.5156 GB, free: 20.59 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2992, allocations: 6.656 kB / 0.5156 GB, free: 20.59 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2992, allocations: 9.125 kB / 0.5156 GB, free: 20.59 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.2994, allocations: 73.05 kB / 0.5156 GB, free: 20.59 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.2994, allocations: 14.98 kB / 0.5157 GB, free: 20.59 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.2996, allocations: 39.73 kB / 0.5157 GB, free: 20.58 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.2996, allocations: 25.66 kB / 0.5157 GB, free: 20.58 MB / 382.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.0001049/0.2998, allocations: 157.1 kB / 0.5159 GB, free: 20.47 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.2998, allocations: 40.66 kB / 0.5159 GB, free: 20.45 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.3002, allocations: 283.2 kB / 0.5162 GB, free: 20.34 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3002, allocations: 0 / 0.5162 GB, free: 20.34 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3002, allocations: 3.438 kB / 0.5162 GB, free: 20.34 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3002, allocations: 0 / 0.5162 GB, free: 20.34 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.3007, allocations: 0.6067 MB / 0.5168 GB, free: 19.95 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3007, allocations: 3.469 kB / 0.5168 GB, free: 19.95 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.3007, allocations: 9.5 kB / 0.5168 GB, free: 19.95 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3007, allocations: 2.719 kB / 0.5168 GB, free: 19.95 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3008, allocations: 8.188 kB / 0.5168 GB, free: 19.95 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3008, allocations: 6.5 kB / 0.5168 GB, free: 19.95 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3008, allocations: 0 / 0.5168 GB, free: 19.95 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.3009, allocations: 177.8 kB / 0.517 GB, free: 19.82 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.301, allocations: 40.61 kB / 0.517 GB, free: 19.8 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.301, allocations: 10.73 kB / 0.517 GB, free: 19.8 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.3011, allocations: 9.406 kB / 0.517 GB, free: 19.8 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.3011, allocations: 11.44 kB / 0.517 GB, free: 19.8 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.3012, allocations: 1.5 kB / 0.517 GB, free: 19.8 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0002459/0.3014, allocations: 315.7 kB / 0.5173 GB, free: 19.72 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3014, allocations: 0 / 0.5173 GB, free: 19.72 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0004432/0.3018, allocations: 171.3 kB / 0.5175 GB, free: 19.69 MB / 382.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.0003549/0.3022, allocations: 293.5 kB / 0.5178 GB, free: 19.56 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002548/0.3025, allocations: 161 kB / 0.5179 GB, free: 19.55 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3025, allocations: 0 / 0.5179 GB, free: 19.55 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.3025, allocations: 33.19 kB / 0.518 GB, free: 19.55 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3029, allocations: 92.05 kB / 0.5181 GB, free: 19.54 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.3036, allocations: 0.5545 MB / 0.5186 GB, free: 19.21 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.3037, allocations: 0.7792 MB / 0.5194 GB, free: 18.5 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.000222/0.3039, allocations: 98.52 kB / 0.5195 GB, free: 18.48 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.304, allocations: 39.73 kB / 0.5195 GB, free: 18.48 MB / 382.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.304, allocations: 7.031 kB / 0.5195 GB, free: 18.47 MB / 382.1 MB
Notification: Performance of Templates: time 0.01039/0.3144, allocations: 6.37 MB / 0.5257 GB, free: 17.98 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660]
(rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction  -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.491743211634457]
Failed to read output from testmodel.py, exit status != 0:
0.32184831984341145 0.33229073400000003 0.21204002500000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9f0c34d7b0>