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.001424/0.001424, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001483/0.001483, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.777 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.1688/0.1688, allocations: 23.89 MB / 336.3 MB, free: 10.95 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_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.002947/0.002947, allocations: 75.89 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.356, allocations: 59.86 MB / 0.5185 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.00504/0.3611, allocations: 2.823 MB / 0.5213 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007009/0.3681, allocations: 5.544 MB / 0.5267 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.3686, allocations: 9.094 kB / 0.5267 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006961/0.3693, allocations: 132.2 kB / 0.5268 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.3703, allocations: 262.9 kB / 0.5271 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.3732, allocations: 0.9741 MB / 0.528 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009723/0.3742, allocations: 497.1 kB / 0.5285 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.3745, allocations: 135.8 kB / 0.5286 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.375, allocations: 237.7 kB / 0.5289 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.3755, allocations: 238.5 kB / 0.5291 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/0.3756, allocations: 24.03 kB / 0.5291 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.3775, allocations: 0.5218 MB / 0.5296 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3777, allocations: 81.95 kB / 0.5297 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.3779, allocations: 156.2 kB / 0.5299 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.3809, allocations: 1.042 MB / 0.5309 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3809, allocations: 1.984 kB / 0.5309 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3809, allocations: 0 / 0.5309 GB, free: 1.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.153e-05/0.3809, allocations: 0 / 0.5309 GB, free: 1.863 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.001746/0.3827, allocations: 0.6908 MB / 0.5316 GB, free: 1.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3827, allocations: 9 kB / 0.5316 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.3828, allocations: 58.69 kB / 0.5316 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000747/0.3836, allocations: 120.2 kB / 0.5317 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008225/0.3844, allocations: 306.8 kB / 0.532 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3844, allocations: 17.78 kB / 0.532 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.3845, allocations: 26.89 kB / 0.5321 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.3852, allocations: 384.5 kB / 0.5324 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3853, allocations: 5.312 kB / 0.5324 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.3853, allocations: 10.84 kB / 0.5324 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3853, allocations: 5.719 kB / 0.5325 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009505/0.3863, allocations: 0.5411 MB / 0.533 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.3885, allocations: 1.328 MB / 0.5343 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.3889, allocations: 157.9 kB / 0.5344 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.3891, allocations: 87.66 kB / 0.5345 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002359/0.3914, allocations: 0.9401 MB / 0.5354 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3915, allocations: 36 kB / 0.5355 GB, free: 15.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.3915, allocations: 2.062 kB / 0.5355 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005975/0.3921, allocations: 220.2 kB / 0.5357 GB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3921, allocations: 56.53 kB / 0.5357 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.3927, allocations: 387 kB / 0.5361 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3927, allocations: 25.7 kB / 0.5361 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.393, allocations: 230.7 kB / 0.5363 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.492e-05/0.393, allocations: 46.8 kB / 0.5364 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3931, allocations: 71.02 kB / 0.5365 GB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.3934, allocations: 349.7 kB / 0.5368 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3935, allocations: 60.89 kB / 0.5368 GB, free: 14.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.3938, allocations: 245.9 kB / 0.5371 GB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/0.3944, allocations: 350.7 kB / 0.5374 GB, free: 13.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.3944, allocations: 2.281 kB / 0.5374 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006995/0.3951, allocations: 348.6 kB / 0.5378 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3951, allocations: 8.188 kB / 0.5378 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.3952, allocations: 5.469 kB / 0.5378 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.3952, allocations: 9.031 kB / 0.5378 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.3954, allocations: 79.22 kB / 0.5379 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.3955, allocations: 12.8 kB / 0.5379 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.3957, allocations: 48.52 kB / 0.5379 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.3958, allocations: 28.61 kB / 0.5379 GB, free: 13.31 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.0002029/0.396, allocations: 156.2 kB / 0.5381 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/0.3961, allocations: 37.06 kB / 0.5381 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.3967, allocations: 278 kB / 0.5384 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3967, allocations: 0 / 0.5384 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3967, allocations: 5.312 kB / 0.5384 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3967, allocations: 4.797 kB / 0.5384 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009065/0.3976, allocations: 0.5868 MB / 0.539 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3976, allocations: 1.219 kB / 0.539 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.3977, allocations: 11 kB / 0.539 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3977, allocations: 2.406 kB / 0.539 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3977, allocations: 6.703 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3977, allocations: 2.438 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3977, allocations: 5.156 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.398, allocations: 182.3 kB / 0.5392 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3981, allocations: 39.41 kB / 0.5392 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/0.3982, allocations: 16.02 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3983, allocations: 2.281 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.3984, allocations: 9.922 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3984, allocations: 2.75 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004858/0.3989, allocations: 318.5 kB / 0.5395 GB, free: 12.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3989, allocations: 0 / 0.5395 GB, free: 12.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007667/0.3996, allocations: 168.3 kB / 0.5397 GB, free: 12.09 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.001467/0.4011, allocations: 0.922 MB / 0.5406 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.4015, allocations: 154.4 kB / 0.5407 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4015, allocations: 0 / 0.5407 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.4016, allocations: 35.78 kB / 0.5408 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.4023, allocations: 96.5 kB / 0.5409 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.4077, allocations: 3.25 MB / 0.544 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.4079, allocations: 166 kB / 0.5442 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003891/0.4083, allocations: 93.2 kB / 0.5443 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.4085, allocations: 120.9 kB / 0.5444 GB, free: 8.711 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4085, allocations: 7.938 kB / 0.5444 GB, free: 8.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05107/0.4596, allocations: 10.85 MB / 0.555 GB, free: 3.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.92, allocations: 14.58 kB / 0.555 GB, free: 3.785 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.690380543936044] Failed to read output from testmodel.py, exit status != 0: 12.03684824379161 12.064368556 11.677921144 Calling exit ...