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.001657/0.001657, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002011/0.002011, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.816 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.1498/0.1498, allocations: 23.99 MB / 336.4 MB, free: 10.88 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.002253/0.002253, allocations: 63.91 kB / 471.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3247, allocations: 59.9 MB / 0.5187 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004405/0.3291, allocations: 2.817 MB / 0.5215 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006498/0.3356, allocations: 5.545 MB / 0.5269 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.3361, allocations: 11.53 kB / 0.5269 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.3366, allocations: 137.9 kB / 0.527 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008301/0.3375, allocations: 250.9 kB / 0.5273 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.3404, allocations: 0.9777 MB / 0.5282 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009035/0.3413, allocations: 488.5 kB / 0.5287 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.3416, allocations: 144.1 kB / 0.5288 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.3419, allocations: 242.2 kB / 0.5291 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.3423, allocations: 233.4 kB / 0.5293 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.3424, allocations: 25.31 kB / 0.5293 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.344, allocations: 0.518 MB / 0.5298 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3442, allocations: 85.19 kB / 0.5299 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.3443, allocations: 156.2 kB / 0.5301 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.3469, allocations: 1.031 MB / 0.5311 GB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3469, allocations: 0 / 0.5311 GB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.3469, allocations: 1.734 kB / 0.5311 GB, free: 1.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3469, allocations: 0 / 0.5311 GB, free: 1.891 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.001246/0.3481, allocations: 0.6955 MB / 0.5317 GB, free: 1.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3482, allocations: 8.781 kB / 0.5317 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.3482, allocations: 54.45 kB / 0.5318 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/0.3488, allocations: 112 kB / 0.5319 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006416/0.3494, allocations: 323.3 kB / 0.5322 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3495, allocations: 14 kB / 0.5322 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.3495, allocations: 25.84 kB / 0.5323 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.3501, allocations: 381.4 kB / 0.5326 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3501, allocations: 7.875 kB / 0.5326 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.3502, allocations: 6.281 kB / 0.5326 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3502, allocations: 5.656 kB / 0.5326 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.351, allocations: 0.5427 MB / 0.5332 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.3528, allocations: 1.335 MB / 0.5345 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.3532, allocations: 155.6 kB / 0.5346 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.3533, allocations: 87.98 kB / 0.5347 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002099/0.3554, allocations: 0.9474 MB / 0.5356 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3555, allocations: 31.94 kB / 0.5357 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.3555, allocations: 0 / 0.5357 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.000495/0.356, allocations: 225 kB / 0.5359 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.356, allocations: 54.16 kB / 0.5359 GB, free: 14.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.3565, allocations: 386.4 kB / 0.5363 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.3565, allocations: 29.7 kB / 0.5363 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.3567, allocations: 227.4 kB / 0.5365 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.3568, allocations: 51.25 kB / 0.5366 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3569, allocations: 73.42 kB / 0.5367 GB, free: 14.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3571, allocations: 345.5 kB / 0.537 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3572, allocations: 60.78 kB / 0.537 GB, free: 14.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.3575, allocations: 241.6 kB / 0.5373 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.358, allocations: 344.4 kB / 0.5376 GB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.358, allocations: 2.75 kB / 0.5376 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006031/0.3586, allocations: 348.7 kB / 0.5379 GB, free: 13.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3586, allocations: 11.91 kB / 0.5379 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3587, allocations: 6.875 kB / 0.538 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.3587, allocations: 8.25 kB / 0.538 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.3589, allocations: 71.69 kB / 0.538 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.3589, allocations: 18.81 kB / 0.5381 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.3592, allocations: 40.2 kB / 0.5381 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.3592, allocations: 26.48 kB / 0.5381 GB, free: 13.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.0001942/0.3594, allocations: 158.4 kB / 0.5383 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.3595, allocations: 35.55 kB / 0.5383 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006446/0.3602, allocations: 290.5 kB / 0.5386 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3602, allocations: 1.25 kB / 0.5386 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.3602, allocations: 4.688 kB / 0.5386 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3602, allocations: 0 / 0.5386 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008804/0.361, allocations: 0.5864 MB / 0.5392 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3611, allocations: 10.38 kB / 0.5392 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.3611, allocations: 12.25 kB / 0.5392 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3611, allocations: 1.344 kB / 0.5392 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3611, allocations: 3.188 kB / 0.5392 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3611, allocations: 1.469 kB / 0.5392 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.3611, allocations: 6.141 kB / 0.5392 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3614, allocations: 185.2 kB / 0.5394 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3615, allocations: 40.08 kB / 0.5394 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.3616, allocations: 11.14 kB / 0.5394 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3617, allocations: 2.75 kB / 0.5394 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.3617, allocations: 14.02 kB / 0.5394 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3617, allocations: 2.688 kB / 0.5394 GB, free: 12.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.3621, allocations: 318.4 kB / 0.5397 GB, free: 12.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3621, allocations: 0 / 0.5397 GB, free: 12.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007183/0.3628, allocations: 172.5 kB / 0.5399 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.001164/0.364, allocations: 0.9027 MB / 0.5408 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.3644, allocations: 159.8 kB / 0.5409 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3644, allocations: 0 / 0.5409 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.3645, allocations: 29.89 kB / 0.541 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005928/0.365, allocations: 103.9 kB / 0.5411 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.3696, allocations: 3.255 MB / 0.5442 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.3698, allocations: 178.2 kB / 0.5444 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003589/0.3702, allocations: 95.39 kB / 0.5445 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.3704, allocations: 118.1 kB / 0.5446 GB, free: 8.727 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3704, allocations: 0 / 0.5446 GB, free: 8.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/0.414, allocations: 10.86 MB / 0.5552 GB, free: 3.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.87, allocations: 5.562 kB / 0.5552 GB, free: 3.625 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.8307573357597] Failed to read output from testmodel.py, exit status != 0: 11.988175962120295 12.013849721 11.662024995 Calling exit ...