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.001415/0.001415, allocations: 103.1 kB / 16.45 MB, free: 6.5 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.001644/0.001644, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1446/0.1446, allocations: 23.89 MB / 332.7 MB, free: 12.34 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.002112/0.002112, allocations: 67.89 kB / 466 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3537, allocations: 59.83 MB / 0.5135 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004819/0.3585, allocations: 3.016 MB / 0.5165 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006965/0.3655, allocations: 6.33 MB / 0.5227 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004505/0.3659, allocations: 12.72 kB / 0.5227 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005716/0.3665, allocations: 152.8 kB / 0.5228 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008898/0.3674, allocations: 253.6 kB / 0.5231 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.3698, allocations: 0.9638 MB / 0.524 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008737/0.3707, allocations: 493.6 kB / 0.5245 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.371, allocations: 140.1 kB / 0.5246 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.3714, allocations: 241 kB / 0.5248 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.3719, allocations: 249.4 kB / 0.5251 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.639e-05/0.372, allocations: 25.94 kB / 0.5251 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.3738, allocations: 0.5593 MB / 0.5256 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.3739, allocations: 85.08 kB / 0.5257 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.3742, allocations: 184.3 kB / 0.5259 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.3764, allocations: 1.044 MB / 0.5269 GB, free: 264 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3764, allocations: 0.6562 kB / 0.5269 GB, free: 264 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3764, allocations: 0 / 0.5269 GB, free: 264 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.3765, allocations: 0 / 0.5269 GB, free: 264 kB / 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.001611/0.3781, allocations: 0.7762 MB / 0.5277 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3781, allocations: 10.12 kB / 0.5277 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.3782, allocations: 59.3 kB / 0.5277 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006607/0.3789, allocations: 111.6 kB / 0.5279 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.3797, allocations: 381 kB / 0.5282 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.3797, allocations: 17.25 kB / 0.5282 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.3798, allocations: 22.22 kB / 0.5283 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.3805, allocations: 388.6 kB / 0.5286 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3805, allocations: 0 / 0.5286 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.3806, allocations: 10.03 kB / 0.5286 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3806, allocations: 6.219 kB / 0.5286 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3816, allocations: 0.5456 MB / 0.5292 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.3841, allocations: 1.407 MB / 0.5305 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.3844, allocations: 159.9 kB / 0.5307 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.3846, allocations: 87.53 kB / 0.5308 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002909/0.3875, allocations: 1.906 MB / 0.5326 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3876, allocations: 32.42 kB / 0.5327 GB, free: 12.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.3876, allocations: 0 / 0.5327 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005772/0.3881, allocations: 224.8 kB / 0.5329 GB, free: 12.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3882, allocations: 53.03 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.3887, allocations: 373.4 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.3887, allocations: 29.7 kB / 0.5333 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.3889, allocations: 231.5 kB / 0.5335 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.389, allocations: 57.77 kB / 0.5336 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3891, allocations: 74.64 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3893, allocations: 346.6 kB / 0.534 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3894, allocations: 63.72 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.3897, allocations: 238.3 kB / 0.5343 GB, free: 10.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.3902, allocations: 345.8 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.3902, allocations: 2.719 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006861/0.3909, allocations: 344.3 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3909, allocations: 7.688 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3909, allocations: 11.28 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.391, allocations: 13.06 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.3912, allocations: 79.05 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.3912, allocations: 18.22 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.3915, allocations: 37.08 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.3915, allocations: 25.14 kB / 0.5351 GB, free: 10.34 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.0001826/0.3917, allocations: 158.5 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.3918, allocations: 35.64 kB / 0.5353 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.3924, allocations: 293 kB / 0.5356 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3924, allocations: 1.062 kB / 0.5356 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3924, allocations: 3.938 kB / 0.5356 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3924, allocations: 1.219 kB / 0.5356 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008763/0.3933, allocations: 0.6354 MB / 0.5362 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3933, allocations: 1.188 kB / 0.5362 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.3934, allocations: 15.62 kB / 0.5362 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3934, allocations: 2.438 kB / 0.5362 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3934, allocations: 1.094 kB / 0.5362 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3934, allocations: 2.281 kB / 0.5362 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3934, allocations: 3.812 kB / 0.5362 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.3936, allocations: 186.2 kB / 0.5364 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3938, allocations: 119.8 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.3939, allocations: 8.266 kB / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.394, allocations: 2.438 kB / 0.5366 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.394, allocations: 12.47 kB / 0.5366 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.394, allocations: 2.188 kB / 0.5366 GB, free: 9.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003959/0.3944, allocations: 315.2 kB / 0.5369 GB, free: 9.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3944, allocations: 0 / 0.5369 GB, free: 9.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007647/0.3952, allocations: 170.9 kB / 0.537 GB, free: 8.969 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.001274/0.3964, allocations: 0.9145 MB / 0.5379 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003616/0.3968, allocations: 157.4 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3968, allocations: 0 / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.159e-05/0.3968, allocations: 27.25 kB / 0.5381 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.3974, allocations: 103.7 kB / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.402, allocations: 3.248 MB / 0.5414 GB, free: 5.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.4025, allocations: 0.7774 MB / 0.5421 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.4028, allocations: 91.19 kB / 0.5422 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.403, allocations: 117.8 kB / 0.5423 GB, free: 4.949 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.403, allocations: 0 / 0.5423 GB, free: 4.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.4454, allocations: 9.882 MB / 0.552 GB, free: 1.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.634/9.079, allocations: 20.19 kB / 0.552 GB, free: 1.027 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.810224876971915] Failed to read output from testmodel.py, exit status != 0: 9.156472469912842 9.178337444 8.797459161999999 Calling exit ...