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.001454/0.001454, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001826/0.001826, allocations: 217.1 kB / 22.25 MB, free: 5.105 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.828 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.1322/0.1322, allocations: 23.92 MB / 336.4 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) [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.001939/0.001939, allocations: 71.89 kB / 471.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3209, allocations: 59.87 MB / 0.5186 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003724/0.3247, allocations: 2.827 MB / 0.5214 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005768/0.3304, allocations: 5.536 MB / 0.5268 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.3307, allocations: 12.75 kB / 0.5268 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.3312, allocations: 140.1 kB / 0.5269 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.3319, allocations: 255.8 kB / 0.5272 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.3342, allocations: 0.9732 MB / 0.5281 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.3348, allocations: 493.2 kB / 0.5286 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.3351, allocations: 143.1 kB / 0.5287 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.3353, allocations: 238.5 kB / 0.5289 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.3357, allocations: 249.5 kB / 0.5292 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.3357, allocations: 25.72 kB / 0.5292 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.337, allocations: 0.5284 MB / 0.5297 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3371, allocations: 90.2 kB / 0.5298 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.3373, allocations: 149.2 kB / 0.53 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.3391, allocations: 1.038 MB / 0.531 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3391, allocations: 0 / 0.531 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3391, allocations: 1.031 kB / 0.531 GB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3391, allocations: 0 / 0.531 GB, free: 1.883 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.001067/0.3401, allocations: 0.6906 MB / 0.5316 GB, free: 1.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3402, allocations: 13.12 kB / 0.5317 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.523e-05/0.3403, allocations: 55.2 kB / 0.5317 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/0.3408, allocations: 113 kB / 0.5318 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.3414, allocations: 322.8 kB / 0.5321 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3414, allocations: 14.08 kB / 0.5321 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.3415, allocations: 25.16 kB / 0.5322 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.3421, allocations: 385.6 kB / 0.5325 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3421, allocations: 0 / 0.5325 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.3421, allocations: 10.47 kB / 0.5325 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3421, allocations: 6.219 kB / 0.5325 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008003/0.3429, allocations: 0.5384 MB / 0.5331 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.3446, allocations: 1.331 MB / 0.5344 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.345, allocations: 158.4 kB / 0.5345 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.3452, allocations: 91.88 kB / 0.5346 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/0.3471, allocations: 0.9361 MB / 0.5355 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3472, allocations: 31.78 kB / 0.5356 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.3472, allocations: 1.094 kB / 0.5356 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004703/0.3476, allocations: 224.5 kB / 0.5358 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3477, allocations: 56.78 kB / 0.5358 GB, free: 14.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.3481, allocations: 389.3 kB / 0.5362 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3481, allocations: 31.08 kB / 0.5362 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.3483, allocations: 227.4 kB / 0.5364 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.3483, allocations: 50.7 kB / 0.5365 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3485, allocations: 70.92 kB / 0.5366 GB, free: 14.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3486, allocations: 346.7 kB / 0.5369 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3487, allocations: 61.12 kB / 0.5369 GB, free: 14.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.349, allocations: 245 kB / 0.5372 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.3495, allocations: 345.5 kB / 0.5375 GB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3495, allocations: 5.031 kB / 0.5375 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005453/0.35, allocations: 349.5 kB / 0.5378 GB, free: 13.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.35, allocations: 6.938 kB / 0.5379 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.35, allocations: 7.688 kB / 0.5379 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.3501, allocations: 8.375 kB / 0.5379 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.3503, allocations: 79.59 kB / 0.5379 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.3503, allocations: 18.97 kB / 0.538 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.3505, allocations: 42.42 kB / 0.538 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.3506, allocations: 27.44 kB / 0.538 GB, free: 13.33 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.0001613/0.3507, allocations: 158.8 kB / 0.5382 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.3508, allocations: 36.27 kB / 0.5382 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.3513, allocations: 272.8 kB / 0.5385 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3513, allocations: 1.156 kB / 0.5385 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3513, allocations: 3.938 kB / 0.5385 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3513, allocations: 1.766 kB / 0.5385 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.352, allocations: 0.594 MB / 0.5391 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.352, allocations: 1.469 kB / 0.5391 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.3521, allocations: 11.41 kB / 0.5391 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3521, allocations: 2.359 kB / 0.5391 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3521, allocations: 3.125 kB / 0.5391 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3521, allocations: 2.016 kB / 0.5391 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3521, allocations: 1.094 kB / 0.5391 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3523, allocations: 190 kB / 0.5393 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.3524, allocations: 39.17 kB / 0.5393 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.3525, allocations: 4.953 kB / 0.5393 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.3526, allocations: 1.562 kB / 0.5393 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.3526, allocations: 14.45 kB / 0.5393 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3526, allocations: 2.5 kB / 0.5393 GB, free: 12.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003774/0.353, allocations: 315 kB / 0.5396 GB, free: 12.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.353, allocations: 0 / 0.5396 GB, free: 12.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006137/0.3536, allocations: 171.2 kB / 0.5398 GB, free: 12.11 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.001042/0.3546, allocations: 0.9225 MB / 0.5407 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.3549, allocations: 156.7 kB / 0.5408 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3549, allocations: 1.562 kB / 0.5408 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-05/0.355, allocations: 31.8 kB / 0.5409 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3555, allocations: 96.03 kB / 0.541 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.3597, allocations: 3.251 MB / 0.5441 GB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.36, allocations: 171.1 kB / 0.5443 GB, free: 8.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002932/0.3602, allocations: 95.52 kB / 0.5444 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.3604, allocations: 117.2 kB / 0.5445 GB, free: 8.727 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3604, allocations: 0 / 0.5445 GB, free: 8.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.4008, allocations: 10.95 MB / 0.5552 GB, free: 3.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.2, allocations: 7.031 kB / 0.5552 GB, free: 3.617 MB / 398.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.874592184001813] Failed to read output from testmodel.py, exit status != 0: 11.306639991991688 11.331403692 10.987752343 Calling exit ...