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.001411/0.001411, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001703/0.001703, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.496/1.496, 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.1719/0.1719, allocations: 23.88 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.002161/0.002161, allocations: 71.89 kB / 471.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3481, allocations: 59.86 MB / 0.5185 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.005661/0.3538, allocations: 2.819 MB / 0.5213 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007218/0.361, allocations: 5.545 MB / 0.5267 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005088/0.3615, allocations: 9.188 kB / 0.5267 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.3622, allocations: 140 kB / 0.5268 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3633, allocations: 255.8 kB / 0.5271 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.3666, allocations: 0.9736 MB / 0.528 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.3677, allocations: 497 kB / 0.5285 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.3681, allocations: 140 kB / 0.5286 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.3685, allocations: 238 kB / 0.5289 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.3691, allocations: 238 kB / 0.5291 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.3693, allocations: 24.75 kB / 0.5291 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.3712, allocations: 0.5206 MB / 0.5296 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3714, allocations: 83.19 kB / 0.5297 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.3717, allocations: 150.8 kB / 0.5299 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.3746, allocations: 1.042 MB / 0.5309 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3746, allocations: 1 kB / 0.5309 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3746, allocations: 0 / 0.5309 GB, free: 1.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.3746, allocations: 0 / 0.5309 GB, free: 1.859 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.001754/0.3764, allocations: 0.6943 MB / 0.5316 GB, free: 1.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.3765, allocations: 10.56 kB / 0.5316 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.3766, allocations: 58.62 kB / 0.5316 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000682/0.3772, allocations: 116 kB / 0.5317 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/0.378, allocations: 316.3 kB / 0.532 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.378, allocations: 17.22 kB / 0.5321 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.3781, allocations: 25.5 kB / 0.5321 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.3787, allocations: 380.9 kB / 0.5324 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3787, allocations: 1.156 kB / 0.5324 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.3788, allocations: 10.09 kB / 0.5324 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3788, allocations: 6.156 kB / 0.5325 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/0.3797, allocations: 0.5462 MB / 0.533 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.3818, allocations: 1.328 MB / 0.5343 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.3822, allocations: 153.7 kB / 0.5344 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.3824, allocations: 88.55 kB / 0.5345 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/0.3847, allocations: 0.9391 MB / 0.5354 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3847, allocations: 35.72 kB / 0.5355 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.3847, allocations: 0 / 0.5355 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005692/0.3853, allocations: 221.6 kB / 0.5357 GB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.3854, allocations: 53.3 kB / 0.5357 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.3859, allocations: 385.7 kB / 0.5361 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.3859, allocations: 30.67 kB / 0.5361 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.3861, allocations: 231 kB / 0.5363 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.3862, allocations: 54.55 kB / 0.5364 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3863, allocations: 75.67 kB / 0.5365 GB, free: 14.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3865, allocations: 342.4 kB / 0.5368 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3867, allocations: 64.05 kB / 0.5369 GB, free: 14.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.387, allocations: 245.8 kB / 0.5371 GB, free: 13.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.3875, allocations: 342.2 kB / 0.5374 GB, free: 13.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.3875, allocations: 2.688 kB / 0.5374 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007112/0.3882, allocations: 346.2 kB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3883, allocations: 11.06 kB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.3883, allocations: 6.875 kB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.3883, allocations: 8.25 kB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.3886, allocations: 81.47 kB / 0.5379 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.3886, allocations: 13.59 kB / 0.5379 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.3889, allocations: 41.42 kB / 0.5379 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.389, allocations: 27.89 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.0002185/0.3892, allocations: 155.5 kB / 0.5381 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/0.3893, allocations: 35.59 kB / 0.5381 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.3899, allocations: 282.7 kB / 0.5384 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3899, allocations: 1.688 kB / 0.5384 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3899, allocations: 3.938 kB / 0.5384 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3899, allocations: 0.8906 kB / 0.5384 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009451/0.3909, allocations: 0.5868 MB / 0.539 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3909, allocations: 9.531 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.3909, allocations: 11.31 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3909, allocations: 2.5 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3909, allocations: 2.406 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.3909, allocations: 6.016 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.391, allocations: 2.469 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.3913, allocations: 177.4 kB / 0.5392 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.3914, allocations: 43.09 kB / 0.5392 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.3915, allocations: 11.11 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3916, allocations: 3.359 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3916, allocations: 14.06 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3916, allocations: 3.188 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005206/0.3921, allocations: 317.7 kB / 0.5395 GB, free: 12.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3921, allocations: 0 / 0.5395 GB, free: 12.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008366/0.393, allocations: 168.9 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.001392/0.3944, allocations: 0.9176 MB / 0.5406 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.3948, allocations: 156.2 kB / 0.5407 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3948, allocations: 1.062 kB / 0.5407 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.3948, allocations: 32.86 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.0006173/0.3954, allocations: 90.92 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.005173/0.4006, allocations: 3.247 MB / 0.544 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.4008, allocations: 174.3 kB / 0.5442 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003573/0.4012, allocations: 104.2 kB / 0.5443 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.4014, allocations: 116.9 kB / 0.5444 GB, free: 8.703 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4014, allocations: 1.094 kB / 0.5444 GB, free: 8.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/0.4477, allocations: 10.85 MB / 0.555 GB, free: 3.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.04, allocations: 6.578 kB / 0.555 GB, free: 3.773 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 & 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: 14.920662198215723] Failed to read output from testmodel.py, exit status != 0: 12.155232053715736 12.185429684 11.804890602 Calling exit ...