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.001643/0.001643, allocations: 105.1 kB / 16.45 MB, free: 6.453 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.001862/0.001862, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 8.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.1372/0.1372, allocations: 23.85 MB / 332.7 MB, free: 12.36 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.001983/0.001983, allocations: 59.91 kB / 466 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 59.83 MB / 0.5135 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003672/0.3165, allocations: 3.017 MB / 0.5164 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005824/0.3223, allocations: 6.328 MB / 0.5226 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.3226, allocations: 11.38 kB / 0.5226 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.3231, allocations: 157.5 kB / 0.5228 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006287/0.3237, allocations: 253.4 kB / 0.523 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.3259, allocations: 0.9566 MB / 0.5239 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.3265, allocations: 498.7 kB / 0.5244 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.3267, allocations: 138.8 kB / 0.5245 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.327, allocations: 237.8 kB / 0.5248 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.3273, allocations: 257.5 kB / 0.525 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.3274, allocations: 24.78 kB / 0.525 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.3289, allocations: 0.5558 MB / 0.5256 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.329, allocations: 81.88 kB / 0.5257 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.3292, allocations: 183.1 kB / 0.5258 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.3308, allocations: 1.052 MB / 0.5269 GB, free: 264 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3308, allocations: 0.5625 kB / 0.5269 GB, free: 264 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3308, allocations: 0 / 0.5269 GB, free: 264 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3309, allocations: 0 / 0.5269 GB, free: 264 kB / 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.00113/0.332, allocations: 0.7689 MB / 0.5276 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.332, allocations: 10.73 kB / 0.5276 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.56e-05/0.3321, allocations: 54.89 kB / 0.5277 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005586/0.3327, allocations: 111.5 kB / 0.5278 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.3333, allocations: 384 kB / 0.5281 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3333, allocations: 18.5 kB / 0.5282 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.3334, allocations: 24.88 kB / 0.5282 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.334, allocations: 387.3 kB / 0.5286 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.334, allocations: 1.344 kB / 0.5286 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.3341, allocations: 10.47 kB / 0.5286 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3341, allocations: 5.188 kB / 0.5286 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009229/0.335, allocations: 0.5458 MB / 0.5291 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.3371, allocations: 1.409 MB / 0.5305 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.3375, allocations: 159.8 kB / 0.5306 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.3377, allocations: 88.02 kB / 0.5307 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002552/0.3402, allocations: 1.902 MB / 0.5326 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3403, allocations: 31.91 kB / 0.5326 GB, free: 12.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.3403, allocations: 3.938 kB / 0.5326 GB, free: 12.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005429/0.3408, allocations: 220.9 kB / 0.5328 GB, free: 12.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3408, allocations: 52.56 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.3413, allocations: 374 kB / 0.5332 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3413, allocations: 29.7 kB / 0.5333 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3415, allocations: 231.6 kB / 0.5335 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.3415, allocations: 58.89 kB / 0.5335 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3416, allocations: 69.5 kB / 0.5336 GB, free: 11.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3418, allocations: 346.6 kB / 0.5339 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.3419, allocations: 64.34 kB / 0.534 GB, free: 11.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.3422, allocations: 244.8 kB / 0.5342 GB, free: 10.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.3427, allocations: 342.8 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3427, allocations: 2.812 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005848/0.3432, allocations: 351.8 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3433, allocations: 8.312 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.3433, allocations: 9.781 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.3433, allocations: 9.094 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3435, allocations: 79.56 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.3435, allocations: 17.89 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.3438, allocations: 37.72 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.3438, allocations: 24.77 kB / 0.5351 GB, free: 10.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.000169/0.344, allocations: 158.1 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.344, allocations: 37.2 kB / 0.5353 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/0.3446, allocations: 288.3 kB / 0.5355 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3446, allocations: 1.344 kB / 0.5355 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3446, allocations: 7.875 kB / 0.5355 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3446, allocations: 1.656 kB / 0.5355 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/0.3454, allocations: 0.6277 MB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3454, allocations: 0.9375 kB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.3454, allocations: 11.67 kB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3455, allocations: 2.562 kB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3455, allocations: 6.609 kB / 0.5362 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3455, allocations: 1.062 kB / 0.5362 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.3455, allocations: 6.188 kB / 0.5362 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3457, allocations: 179.1 kB / 0.5364 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3458, allocations: 120.5 kB / 0.5365 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.3459, allocations: 7.703 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.346, allocations: 2.344 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.346, allocations: 17.45 kB / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.346, allocations: 3.469 kB / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003639/0.3464, allocations: 314.1 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3464, allocations: 0 / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006492/0.347, allocations: 171.5 kB / 0.537 GB, free: 8.973 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.0009891/0.348, allocations: 0.9233 MB / 0.5379 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.3484, allocations: 157.2 kB / 0.538 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3484, allocations: 0 / 0.538 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.3484, allocations: 29.03 kB / 0.538 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.3489, allocations: 100.7 kB / 0.5381 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.3529, allocations: 3.243 MB / 0.5413 GB, free: 5.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.3533, allocations: 0.7757 MB / 0.5421 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002886/0.3536, allocations: 95.17 kB / 0.5422 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.3538, allocations: 121.9 kB / 0.5423 GB, free: 4.945 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3538, allocations: 0 / 0.5423 GB, free: 4.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.3893, allocations: 9.869 MB / 0.5519 GB, free: 1.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.579/8.968, allocations: 6.688 kB / 0.5519 GB, free: 1.035 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.730486022002879] Failed to read output from testmodel.py, exit status != 0: 9.045069234009134 9.060694099000001 8.726804323 Calling exit ...