Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00172/0.00172, allocations: 105.2 kB / 19.7 MB, free: 2.008 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.001793/0.001793, allocations: 207.2 kB / 22.99 MB, free: 4.41 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1386/0.1386, allocations: 23.93 MB / 337.1 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002068/0.002068, allocations: 63.89 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3692, allocations: 59.87 MB / 0.5198 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004453/0.3737, allocations: 2.82 MB / 0.5226 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006702/0.3804, allocations: 5.553 MB / 0.528 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004808/0.3809, allocations: 11.41 kB / 0.528 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005787/0.3814, allocations: 138.7 kB / 0.5281 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008447/0.3823, allocations: 250.5 kB / 0.5284 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.3856, allocations: 0.9776 MB / 0.5293 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000992/0.3866, allocations: 492.9 kB / 0.5298 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.3869, allocations: 143.5 kB / 0.5299 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.3872, allocations: 237.9 kB / 0.5302 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.3877, allocations: 246 kB / 0.5304 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.548e-05/0.3877, allocations: 28.75 kB / 0.5304 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.3899, allocations: 0.529 MB / 0.5309 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3901, allocations: 90.59 kB / 0.531 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.3904, allocations: 147.9 kB / 0.5312 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.3929, allocations: 1.039 MB / 0.5322 GB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3929, allocations: 1.344 kB / 0.5322 GB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3929, allocations: 0 / 0.5322 GB, free: 2.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3929, allocations: 0 / 0.5322 GB, free: 2.141 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.001127/0.394, allocations: 0.6903 MB / 0.5329 GB, free: 1.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3941, allocations: 8.844 kB / 0.5329 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/0.3947, allocations: 108.7 kB / 0.533 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.3953, allocations: 324.1 kB / 0.5333 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3953, allocations: 20.81 kB / 0.5333 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.3954, allocations: 26.44 kB / 0.5333 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.396, allocations: 376.7 kB / 0.5337 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.396, allocations: 9.094 kB / 0.5337 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.3961, allocations: 10.53 kB / 0.5337 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3961, allocations: 5.812 kB / 0.5337 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.3969, allocations: 0.539 MB / 0.5342 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3987, allocations: 1.282 MB / 0.5355 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.399, allocations: 151.2 kB / 0.5356 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3992, allocations: 95.73 kB / 0.5357 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002111/0.4013, allocations: 0.9336 MB / 0.5366 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4014, allocations: 33.23 kB / 0.5367 GB, free: 15.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.4014, allocations: 1.156 kB / 0.5367 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004984/0.4019, allocations: 219.7 kB / 0.5369 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4019, allocations: 52.56 kB / 0.5369 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.4023, allocations: 355.6 kB / 0.5373 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.4024, allocations: 32.06 kB / 0.5373 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.4026, allocations: 231.9 kB / 0.5375 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.4026, allocations: 50.25 kB / 0.5376 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.4027, allocations: 70.41 kB / 0.5376 GB, free: 14.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4029, allocations: 349.5 kB / 0.538 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.403, allocations: 61.03 kB / 0.538 GB, free: 14.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.4033, allocations: 246.1 kB / 0.5383 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.4037, allocations: 344.1 kB / 0.5386 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4037, allocations: 6.75 kB / 0.5386 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005804/0.4043, allocations: 345.6 kB / 0.5389 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4043, allocations: 7.875 kB / 0.5389 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4043, allocations: 6.438 kB / 0.5389 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.4043, allocations: 9.891 kB / 0.539 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.4046, allocations: 71.25 kB / 0.539 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.4046, allocations: 13.8 kB / 0.539 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.4048, allocations: 41.12 kB / 0.5391 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.4049, allocations: 25.34 kB / 0.5391 GB, free: 13.71 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.0001814/0.4051, allocations: 162.5 kB / 0.5393 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.4051, allocations: 39.52 kB / 0.5393 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.4057, allocations: 282 kB / 0.5396 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4057, allocations: 2.078 kB / 0.5396 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4057, allocations: 0 / 0.5396 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4057, allocations: 1.219 kB / 0.5396 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007865/0.4065, allocations: 0.5546 MB / 0.5401 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4065, allocations: 1.984 kB / 0.5401 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.4066, allocations: 15.28 kB / 0.5401 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.4066, allocations: 6.469 kB / 0.5401 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4066, allocations: 2.203 kB / 0.5401 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4066, allocations: 1.406 kB / 0.5401 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.4066, allocations: 2.938 kB / 0.5401 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.4068, allocations: 183.1 kB / 0.5403 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.4069, allocations: 28.69 kB / 0.5403 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.407, allocations: 16.09 kB / 0.5403 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.407, allocations: 3.719 kB / 0.5404 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.4071, allocations: 5.844 kB / 0.5404 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.4071, allocations: 2.594 kB / 0.5404 GB, free: 12.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003558/0.4074, allocations: 279.7 kB / 0.5406 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4074, allocations: 1.125 kB / 0.5406 GB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000713/0.4081, allocations: 172.4 kB / 0.5408 GB, free: 12.54 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.0006115/0.4087, allocations: 300 kB / 0.5411 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.4091, allocations: 157.8 kB / 0.5412 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4091, allocations: 1.125 kB / 0.5412 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.4091, allocations: 31.42 kB / 0.5413 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.4097, allocations: 99 kB / 0.5414 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.4107, allocations: 0.5758 MB / 0.5419 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.4109, allocations: 166.6 kB / 0.5421 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.411, allocations: 61.42 kB / 0.5421 GB, free: 11.77 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.411, allocations: 1.188 kB / 0.5421 GB, free: 11.77 MB / 398.1 MB Notification: Performance of Templates: time 0.01186/0.4229, allocations: 5.744 MB / 0.5477 GB, free: 9.73 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.935999461042229] Failed to read output from testmodel.py, exit status != 0: 0.432211832026951 0.44849585699999994 0.052219253999999944 Calling exit ...