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.00162/0.00162, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001825/0.001825, allocations: 211.2 kB / 22.25 MB, free: 5.086 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 8.027 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.136/0.136, allocations: 23.89 MB / 336.3 MB, free: 11.18 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.00205/0.00205, allocations: 67.89 kB / 471.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2926, allocations: 59.86 MB / 0.5186 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003486/0.296, allocations: 3.047 MB / 0.5216 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005877/0.3019, allocations: 6.348 MB / 0.5278 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.3023, allocations: 11.41 kB / 0.5278 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.3028, allocations: 154.7 kB / 0.528 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.3034, allocations: 250.5 kB / 0.5282 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.3058, allocations: 0.9727 MB / 0.5292 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007011/0.3065, allocations: 493.7 kB / 0.5296 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.3068, allocations: 140 kB / 0.5298 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.307, allocations: 233.5 kB / 0.53 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.3074, allocations: 257.8 kB / 0.5302 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.3075, allocations: 24.53 kB / 0.5303 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.309, allocations: 0.5595 MB / 0.5308 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3091, allocations: 78.42 kB / 0.5309 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.3093, allocations: 187.3 kB / 0.5311 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.311, allocations: 1.041 MB / 0.5321 GB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.311, allocations: 0 / 0.5321 GB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.311, allocations: 1.156 kB / 0.5321 GB, free: 0.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.311, allocations: 0 / 0.5321 GB, free: 0.832 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.0009586/0.312, allocations: 0.6996 MB / 0.5328 GB, free: 316 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.312, allocations: 9.953 kB / 0.5328 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.3121, allocations: 55.39 kB / 0.5328 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/0.3126, allocations: 108.2 kB / 0.5329 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.3131, allocations: 319.7 kB / 0.5332 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3131, allocations: 17.56 kB / 0.5333 GB, free: 0 / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.3132, allocations: 24.69 kB / 0.5333 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.3138, allocations: 388.4 kB / 0.5336 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3138, allocations: 0 / 0.5336 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.3139, allocations: 10.38 kB / 0.5337 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.3139, allocations: 5.469 kB / 0.5337 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.3147, allocations: 0.5542 MB / 0.5342 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.3167, allocations: 1.385 MB / 0.5356 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.317, allocations: 154.4 kB / 0.5357 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.3171, allocations: 88.67 kB / 0.5358 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/0.3191, allocations: 0.9695 MB / 0.5367 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.3191, allocations: 35.78 kB / 0.5368 GB, free: 14.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3191, allocations: 0 / 0.5368 GB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004788/0.3196, allocations: 219.2 kB / 0.537 GB, free: 13.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.3196, allocations: 52.91 kB / 0.537 GB, free: 13.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.3201, allocations: 376.2 kB / 0.5374 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3201, allocations: 31.08 kB / 0.5374 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3203, allocations: 226 kB / 0.5376 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.3204, allocations: 56.09 kB / 0.5377 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.3205, allocations: 74.5 kB / 0.5378 GB, free: 13.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3207, allocations: 342.3 kB / 0.5381 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3208, allocations: 67.08 kB / 0.5381 GB, free: 13.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.321, allocations: 242.3 kB / 0.5384 GB, free: 12.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.3214, allocations: 345.8 kB / 0.5387 GB, free: 12.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3215, allocations: 1.375 kB / 0.5387 GB, free: 12.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005451/0.322, allocations: 344.2 kB / 0.539 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.322, allocations: 8.562 kB / 0.539 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.322, allocations: 6.594 kB / 0.539 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.322, allocations: 9.719 kB / 0.5391 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.3223, allocations: 83.09 kB / 0.5391 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.3223, allocations: 18.58 kB / 0.5392 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.3225, allocations: 41.45 kB / 0.5392 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.3226, allocations: 24.16 kB / 0.5392 GB, free: 12.24 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.0001708/0.3227, allocations: 155 kB / 0.5394 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.3228, allocations: 36.73 kB / 0.5394 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.3233, allocations: 281.2 kB / 0.5397 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3233, allocations: 2.25 kB / 0.5397 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3233, allocations: 11.92 kB / 0.5397 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3233, allocations: 0.5156 kB / 0.5397 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008318/0.3242, allocations: 0.604 MB / 0.5403 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3242, allocations: 1.375 kB / 0.5403 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.3242, allocations: 11.41 kB / 0.5403 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3242, allocations: 1.375 kB / 0.5403 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3242, allocations: 3.5 kB / 0.5403 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3242, allocations: 5.312 kB / 0.5403 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3243, allocations: 2.172 kB / 0.5403 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.3245, allocations: 186.5 kB / 0.5405 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.3246, allocations: 43.92 kB / 0.5405 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.3246, allocations: 8.906 kB / 0.5405 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3247, allocations: 5.375 kB / 0.5405 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.3247, allocations: 9.188 kB / 0.5405 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3248, allocations: 4.125 kB / 0.5405 GB, free: 11.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003503/0.3251, allocations: 313.8 kB / 0.5408 GB, free: 11.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3251, allocations: 0 / 0.5408 GB, free: 11.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006444/0.3257, allocations: 171.9 kB / 0.541 GB, free: 11.01 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.0009802/0.3267, allocations: 0.9149 MB / 0.5419 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.327, allocations: 159.3 kB / 0.5421 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.327, allocations: 2.781 kB / 0.5421 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.3271, allocations: 27.72 kB / 0.5421 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.3276, allocations: 99.89 kB / 0.5422 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.3317, allocations: 3.254 MB / 0.5454 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.3321, allocations: 0.7752 MB / 0.5461 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.3325, allocations: 91.09 kB / 0.5462 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.3326, allocations: 118.3 kB / 0.5463 GB, free: 6.977 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3326, allocations: 0 / 0.5463 GB, free: 6.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.3726, allocations: 10.11 MB / 0.5562 GB, free: 2.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.11, allocations: 4.922 kB / 0.5562 GB, free: 2.707 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.700695667997934] Failed to read output from testmodel.py, exit status != 0: 11.214051682996796 11.229202169 10.915202455 Calling exit ...