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.001354/0.001354, allocations: 103.8 kB / 18.95 MB, free: 2.691 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.001504/0.001504, allocations: 217.8 kB / 22.25 MB, free: 5.238 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 7.805 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.1248/0.1248, allocations: 23.88 MB / 336.3 MB, free: 10.99 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.002137/0.002137, allocations: 63.91 kB / 471.1 MB, free: 7.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.348, allocations: 59.87 MB / 0.5185 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003608/0.3516, allocations: 2.818 MB / 0.5213 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006145/0.3577, allocations: 5.548 MB / 0.5267 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/0.3581, allocations: 12.16 kB / 0.5267 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.3586, allocations: 137.3 kB / 0.5268 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.3592, allocations: 259.2 kB / 0.5271 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.3617, allocations: 0.9658 MB / 0.528 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006903/0.3624, allocations: 497.3 kB / 0.5285 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.3626, allocations: 144.3 kB / 0.5286 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.3629, allocations: 241.7 kB / 0.5289 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.3632, allocations: 246.3 kB / 0.5291 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.3632, allocations: 23.97 kB / 0.5291 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.3645, allocations: 0.5289 MB / 0.5297 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3646, allocations: 86.67 kB / 0.5297 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.3647, allocations: 156.5 kB / 0.5299 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.3662, allocations: 1.034 MB / 0.5309 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3662, allocations: 3.938 kB / 0.5309 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3662, allocations: 0 / 0.5309 GB, free: 1.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3662, allocations: 5.375 kB / 0.5309 GB, free: 1.855 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.0008851/0.3671, allocations: 0.6979 MB / 0.5316 GB, free: 1.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3671, allocations: 9.062 kB / 0.5316 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.853e-05/0.3672, allocations: 59.23 kB / 0.5316 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.3677, allocations: 108.9 kB / 0.5318 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.3682, allocations: 314.4 kB / 0.5321 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3682, allocations: 13.56 kB / 0.5321 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.3683, allocations: 26.67 kB / 0.5321 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.3688, allocations: 384.2 kB / 0.5325 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3688, allocations: 1.312 kB / 0.5325 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.3688, allocations: 10.25 kB / 0.5325 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.3689, allocations: 10.25 kB / 0.5325 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.3696, allocations: 0.538 MB / 0.533 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.3712, allocations: 1.331 MB / 0.5343 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.3715, allocations: 150.8 kB / 0.5344 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.3717, allocations: 87.56 kB / 0.5345 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/0.3736, allocations: 0.947 MB / 0.5355 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3736, allocations: 36.41 kB / 0.5355 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.3736, allocations: 0 / 0.5355 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004576/0.3741, allocations: 217.2 kB / 0.5357 GB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.3741, allocations: 55.91 kB / 0.5358 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.3745, allocations: 388.2 kB / 0.5361 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3745, allocations: 30.27 kB / 0.5362 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3747, allocations: 231 kB / 0.5364 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.3747, allocations: 54.89 kB / 0.5364 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.3748, allocations: 69.92 kB / 0.5365 GB, free: 14.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.375, allocations: 345.8 kB / 0.5368 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3751, allocations: 61.59 kB / 0.5369 GB, free: 14.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.3753, allocations: 246.4 kB / 0.5371 GB, free: 13.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3757, allocations: 344.2 kB / 0.5374 GB, free: 13.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3757, allocations: 2.5 kB / 0.5374 GB, free: 13.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005116/0.3762, allocations: 348.4 kB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3763, allocations: 8.25 kB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3763, allocations: 10.81 kB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3763, allocations: 8.25 kB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.3765, allocations: 72.34 kB / 0.5379 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.3765, allocations: 19.12 kB / 0.5379 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3767, allocations: 45.42 kB / 0.5379 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.3767, allocations: 24.56 kB / 0.538 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.0001522/0.3769, allocations: 152.6 kB / 0.5381 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.377, allocations: 43.2 kB / 0.5381 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.3774, allocations: 283.1 kB / 0.5384 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3775, allocations: 1.469 kB / 0.5384 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3775, allocations: 3.938 kB / 0.5384 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3775, allocations: 0.8906 kB / 0.5384 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006874/0.3781, allocations: 0.5873 MB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3782, allocations: 2.375 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.3782, allocations: 14.66 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3782, allocations: 1.922 kB / 0.539 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3782, allocations: 6.688 kB / 0.539 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3782, allocations: 2 kB / 0.539 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3782, allocations: 1.562 kB / 0.539 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.3784, allocations: 181.5 kB / 0.5392 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.3785, allocations: 39.52 kB / 0.5392 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.3786, allocations: 12.81 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.3787, allocations: 2.016 kB / 0.5392 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.3787, allocations: 9.922 kB / 0.5393 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.3787, allocations: 2.938 kB / 0.5393 GB, free: 12.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.379, allocations: 314.5 kB / 0.5396 GB, free: 12.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.379, allocations: 0 / 0.5396 GB, free: 12.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000596/0.3796, allocations: 176.7 kB / 0.5397 GB, free: 12.08 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.0009303/0.3806, allocations: 0.9146 MB / 0.5406 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.3809, allocations: 159.5 kB / 0.5408 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3809, allocations: 1.75 kB / 0.5408 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.3809, allocations: 27.61 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.0005191/0.3814, allocations: 100.3 kB / 0.5409 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.3852, allocations: 3.247 MB / 0.5441 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.3853, allocations: 169.5 kB / 0.5442 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.3856, allocations: 96.27 kB / 0.5443 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3858, allocations: 122.3 kB / 0.5444 GB, free: 8.699 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3858, allocations: 0 / 0.5444 GB, free: 8.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.4251, allocations: 10.94 MB / 0.5551 GB, free: 3.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.28, allocations: 10.52 kB / 0.5551 GB, free: 3.727 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.872793374001049] Failed to read output from testmodel.py, exit status != 0: 11.39323228597641 11.418582162 11.047504572 Calling exit ...