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.00172/0.00172, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002161/0.002161, allocations: 209.2 kB / 23.04 MB, free: 5.074 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.1383/0.1383, allocations: 23.86 MB / 337.1 MB, free: 11.22 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="cs",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.002223/0.002223, allocations: 67.91 kB / 472 MB, free: 7.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3375, allocations: 59.85 MB / 0.5193 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003738/0.3413, allocations: 3.036 MB / 0.5223 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006468/0.3477, allocations: 6.352 MB / 0.5285 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004774/0.3482, allocations: 7.719 kB / 0.5285 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.3488, allocations: 153.1 kB / 0.5287 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008778/0.3497, allocations: 263.3 kB / 0.5289 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.3535, allocations: 0.9656 MB / 0.5299 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.3547, allocations: 497.6 kB / 0.5303 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.355, allocations: 138.7 kB / 0.5305 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.3553, allocations: 234.5 kB / 0.5307 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.3558, allocations: 253.5 kB / 0.5309 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.3558, allocations: 25.16 kB / 0.531 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.3576, allocations: 0.5589 MB / 0.5315 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3577, allocations: 82.66 kB / 0.5316 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3579, allocations: 179.3 kB / 0.5317 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.3603, allocations: 1.051 MB / 0.5328 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3604, allocations: 1.203 kB / 0.5328 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3604, allocations: 0 / 0.5328 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3604, allocations: 0.5 kB / 0.5328 GB, free: 0.8164 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.001167/0.3615, allocations: 0.69 MB / 0.5335 GB, free: 308 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3616, allocations: 9.562 kB / 0.5335 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.35e-05/0.3616, allocations: 13.75 kB / 0.5335 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.3617, allocations: 60.72 kB / 0.5335 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005744/0.3622, allocations: 111.4 kB / 0.5336 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.3628, allocations: 310.5 kB / 0.5339 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.3629, allocations: 25.84 kB / 0.534 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.3629, allocations: 21.09 kB / 0.534 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.3636, allocations: 379.7 kB / 0.5343 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3636, allocations: 1.5 kB / 0.5343 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.3637, allocations: 9.562 kB / 0.5344 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3637, allocations: 10.31 kB / 0.5344 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.3646, allocations: 0.5493 MB / 0.5349 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.3667, allocations: 1.38 MB / 0.5362 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.3671, allocations: 152.5 kB / 0.5364 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3673, allocations: 86.53 kB / 0.5365 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002124/0.3694, allocations: 0.9719 MB / 0.5374 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3694, allocations: 35.91 kB / 0.5375 GB, free: 14.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3694, allocations: 0 / 0.5375 GB, free: 14.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.000525/0.37, allocations: 224.6 kB / 0.5377 GB, free: 13.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.37, allocations: 58.25 kB / 0.5377 GB, free: 13.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.3705, allocations: 372.1 kB / 0.5381 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.3705, allocations: 34.8 kB / 0.5381 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.3707, allocations: 226.1 kB / 0.5383 GB, free: 13.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.3707, allocations: 54.7 kB / 0.5384 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3708, allocations: 74.52 kB / 0.5385 GB, free: 13.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.371, allocations: 343.4 kB / 0.5388 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3711, allocations: 68.28 kB / 0.5388 GB, free: 13.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.3714, allocations: 244 kB / 0.5391 GB, free: 12.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.3718, allocations: 339.2 kB / 0.5394 GB, free: 12.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3718, allocations: 2.75 kB / 0.5394 GB, free: 12.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000603/0.3724, allocations: 346.1 kB / 0.5397 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3724, allocations: 8.266 kB / 0.5397 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3724, allocations: 6.547 kB / 0.5397 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3725, allocations: 9.234 kB / 0.5398 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.3727, allocations: 79.73 kB / 0.5398 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.3727, allocations: 18.34 kB / 0.5399 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.373, allocations: 45.86 kB / 0.5399 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.373, allocations: 29.8 kB / 0.5399 GB, free: 12.23 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.0001769/0.3732, allocations: 153.7 kB / 0.5401 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.3733, allocations: 36.61 kB / 0.5401 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/0.3738, allocations: 277.6 kB / 0.5404 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3738, allocations: 5.438 kB / 0.5404 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3738, allocations: 8.641 kB / 0.5404 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3738, allocations: 0 / 0.5404 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007925/0.3746, allocations: 0.605 MB / 0.541 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3746, allocations: 5.562 kB / 0.541 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-05/0.3747, allocations: 11.45 kB / 0.541 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3747, allocations: 1.375 kB / 0.541 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3747, allocations: 6.75 kB / 0.541 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3747, allocations: 6.109 kB / 0.541 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3747, allocations: 1.375 kB / 0.541 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.375, allocations: 179.2 kB / 0.5412 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/0.3751, allocations: 39.47 kB / 0.5412 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.3751, allocations: 7.484 kB / 0.5412 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3752, allocations: 2.75 kB / 0.5412 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.3753, allocations: 12.8 kB / 0.5412 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3753, allocations: 7.359 kB / 0.5412 GB, free: 11.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000376/0.3757, allocations: 314 kB / 0.5415 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3757, allocations: 0 / 0.5415 GB, free: 11.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006832/0.3763, allocations: 175.9 kB / 0.5417 GB, free: 10.99 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.001073/0.3774, allocations: 0.9115 MB / 0.5426 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.3778, allocations: 160.7 kB / 0.5428 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3778, allocations: 0 / 0.5428 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.3778, allocations: 27.94 kB / 0.5428 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.3784, allocations: 92.77 kB / 0.5429 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.3826, allocations: 3.248 MB / 0.546 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.383, allocations: 0.7761 MB / 0.5468 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.3833, allocations: 106 kB / 0.5469 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.3835, allocations: 122.8 kB / 0.547 GB, free: 6.961 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3835, allocations: 0 / 0.547 GB, free: 6.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.4184, allocations: 10.13 MB / 0.5569 GB, free: 2.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.38, allocations: 12.72 kB / 0.5569 GB, free: 2.672 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 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: 15.219104620045982] Failed to read output from testmodel.py, exit status != 0: 12.545929508982226 12.572541493 12.206834178 Calling exit ...