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.001497/0.001497, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001661/0.001661, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.988 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.1246/0.1246, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.001939/0.001939, allocations: 63.91 kB / 471.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2762, allocations: 59.86 MB / 0.5186 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003472/0.2797, allocations: 3.043 MB / 0.5215 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005296/0.285, allocations: 6.347 MB / 0.5277 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.2852, allocations: 8.188 kB / 0.5278 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.2856, allocations: 157.4 kB / 0.5279 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.2861, allocations: 262.8 kB / 0.5282 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.2877, allocations: 0.9656 MB / 0.5291 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.2882, allocations: 0.49 MB / 0.5296 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.2884, allocations: 139.4 kB / 0.5297 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.2887, allocations: 229.1 kB / 0.5299 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.289, allocations: 254.1 kB / 0.5302 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.2891, allocations: 25.81 kB / 0.5302 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.2902, allocations: 0.5581 MB / 0.5307 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.407e-05/0.2903, allocations: 82.64 kB / 0.5308 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2905, allocations: 183.5 kB / 0.531 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.2919, allocations: 1.044 MB / 0.532 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2919, allocations: 0.5625 kB / 0.532 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2919, allocations: 4 kB / 0.532 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.2919, allocations: 0.7812 kB / 0.532 GB, free: 0.7734 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.0008734/0.2928, allocations: 0.6918 MB / 0.5327 GB, free: 264 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2929, allocations: 10.09 kB / 0.5327 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.2929, allocations: 63.44 kB / 0.5328 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/0.2934, allocations: 109 kB / 0.5329 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.2939, allocations: 316.2 kB / 0.5332 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.294, allocations: 20.12 kB / 0.5332 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.294, allocations: 16.78 kB / 0.5332 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.2946, allocations: 388 kB / 0.5336 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2946, allocations: 1.188 kB / 0.5336 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.2946, allocations: 6.094 kB / 0.5336 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.2947, allocations: 6.344 kB / 0.5336 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.2954, allocations: 0.5566 MB / 0.5341 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.2973, allocations: 1.377 MB / 0.5355 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.2976, allocations: 160 kB / 0.5356 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.2978, allocations: 87.8 kB / 0.5357 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/0.2997, allocations: 0.9639 MB / 0.5366 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.2997, allocations: 39.53 kB / 0.5367 GB, free: 14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2997, allocations: 0 / 0.5367 GB, free: 14 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004337/0.3001, allocations: 221.5 kB / 0.5369 GB, free: 13.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3002, allocations: 53.88 kB / 0.5369 GB, free: 13.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.3006, allocations: 375.8 kB / 0.5373 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.3006, allocations: 25.7 kB / 0.5373 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.3008, allocations: 234 kB / 0.5376 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.3008, allocations: 50.86 kB / 0.5376 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.3009, allocations: 70.53 kB / 0.5377 GB, free: 13.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3011, allocations: 346.5 kB / 0.538 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3012, allocations: 64.64 kB / 0.5381 GB, free: 12.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.3014, allocations: 248.8 kB / 0.5383 GB, free: 12.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.3018, allocations: 340.3 kB / 0.5386 GB, free: 12.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3018, allocations: 1.375 kB / 0.5386 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005023/0.3023, allocations: 355.2 kB / 0.539 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3024, allocations: 8.875 kB / 0.539 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3024, allocations: 10.44 kB / 0.539 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3024, allocations: 8.562 kB / 0.539 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.3026, allocations: 79.59 kB / 0.5391 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.3026, allocations: 10.31 kB / 0.5391 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.3028, allocations: 41.11 kB / 0.5391 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.3028, allocations: 25.8 kB / 0.5391 GB, free: 12.2 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.0001626/0.303, allocations: 158.7 kB / 0.5393 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.3031, allocations: 39.11 kB / 0.5393 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.3036, allocations: 285.1 kB / 0.5396 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3036, allocations: 1.969 kB / 0.5396 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3036, allocations: 0 / 0.5396 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3036, allocations: 2.109 kB / 0.5396 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/0.3043, allocations: 0.6064 MB / 0.5402 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3043, allocations: 1.594 kB / 0.5402 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.3044, allocations: 11.73 kB / 0.5402 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3044, allocations: 1.469 kB / 0.5402 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3044, allocations: 3.688 kB / 0.5402 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.3044, allocations: 10.11 kB / 0.5402 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3044, allocations: 5.094 kB / 0.5402 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.3046, allocations: 179.4 kB / 0.5404 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.3047, allocations: 38.64 kB / 0.5404 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.3047, allocations: 13.16 kB / 0.5405 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.3048, allocations: 1.406 kB / 0.5405 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.3049, allocations: 12.88 kB / 0.5405 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3049, allocations: 4.75 kB / 0.5405 GB, free: 11.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003433/0.3052, allocations: 317.2 kB / 0.5408 GB, free: 11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3052, allocations: 0 / 0.5408 GB, free: 11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.3057, allocations: 168 kB / 0.5409 GB, free: 10.96 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.0008867/0.3066, allocations: 0.9188 MB / 0.5418 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.3069, allocations: 156.6 kB / 0.542 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3069, allocations: 1.562 kB / 0.542 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.3069, allocations: 35.02 kB / 0.542 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.3074, allocations: 87.72 kB / 0.5421 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.3111, allocations: 3.25 MB / 0.5453 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.3115, allocations: 0.7738 MB / 0.546 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.3118, allocations: 105.9 kB / 0.5461 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.312, allocations: 122.4 kB / 0.5462 GB, free: 6.922 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.312, allocations: 4 kB / 0.5462 GB, free: 6.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.3511, allocations: 10.1 MB / 0.5561 GB, free: 2.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.25, allocations: 16.84 kB / 0.5561 GB, free: 2.641 MB / 398.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.764214606999303] Failed to read output from testmodel.py, exit status != 0: 11.35404989199742 11.368506818 11.073675169 Calling exit ...