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.001312/0.001312, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001476/0.001476, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.793 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.132/0.132, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.002029/0.002029, allocations: 63.89 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3379, allocations: 59.86 MB / 0.5185 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003829/0.3417, allocations: 2.816 MB / 0.5213 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006055/0.3478, allocations: 5.545 MB / 0.5267 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003743/0.3482, allocations: 12.06 kB / 0.5267 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.3487, allocations: 138 kB / 0.5268 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007331/0.3494, allocations: 262 kB / 0.5271 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.3524, allocations: 0.9739 MB / 0.528 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009067/0.3533, allocations: 494.3 kB / 0.5285 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.3536, allocations: 138.5 kB / 0.5286 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.3538, allocations: 238.4 kB / 0.5289 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.3543, allocations: 249.8 kB / 0.5291 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.3543, allocations: 29.23 kB / 0.5291 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.356, allocations: 0.5325 MB / 0.5297 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.3562, allocations: 86.78 kB / 0.5297 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.3564, allocations: 151.8 kB / 0.5299 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.3589, allocations: 1.039 MB / 0.5309 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3589, allocations: 0 / 0.5309 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3589, allocations: 0 / 0.5309 GB, free: 1.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3589, allocations: 0 / 0.5309 GB, free: 1.918 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.00133/0.3602, allocations: 0.6977 MB / 0.5316 GB, free: 1.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.3603, allocations: 10.34 kB / 0.5316 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.349e-05/0.3604, allocations: 55.11 kB / 0.5316 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/0.3611, allocations: 112.5 kB / 0.5318 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007333/0.3618, allocations: 315.4 kB / 0.5321 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3618, allocations: 16.94 kB / 0.5321 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.3619, allocations: 21.81 kB / 0.5321 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.3626, allocations: 385.2 kB / 0.5325 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3626, allocations: 1.188 kB / 0.5325 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.3626, allocations: 10.62 kB / 0.5325 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.3626, allocations: 6.25 kB / 0.5325 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.3635, allocations: 0.5417 MB / 0.533 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.3657, allocations: 1.332 MB / 0.5343 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.3661, allocations: 153.6 kB / 0.5345 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.3663, allocations: 87.78 kB / 0.5345 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00228/0.3685, allocations: 0.9451 MB / 0.5355 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.3686, allocations: 32 kB / 0.5355 GB, free: 15.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.3686, allocations: 0 / 0.5355 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005439/0.3691, allocations: 220 kB / 0.5357 GB, free: 15.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3692, allocations: 54.16 kB / 0.5357 GB, free: 15.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.3696, allocations: 384.7 kB / 0.5361 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3697, allocations: 31.02 kB / 0.5361 GB, free: 14.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.3699, allocations: 230.4 kB / 0.5364 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.37, allocations: 50.98 kB / 0.5364 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3701, allocations: 71.11 kB / 0.5365 GB, free: 14.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.3703, allocations: 354.3 kB / 0.5368 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.3704, allocations: 64.7 kB / 0.5369 GB, free: 14.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.3707, allocations: 246.6 kB / 0.5371 GB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.3712, allocations: 343.6 kB / 0.5374 GB, free: 13.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3712, allocations: 2.125 kB / 0.5374 GB, free: 13.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000638/0.3719, allocations: 348.9 kB / 0.5378 GB, free: 13.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3719, allocations: 8.625 kB / 0.5378 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3719, allocations: 10.19 kB / 0.5378 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.3719, allocations: 7.875 kB / 0.5378 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.3722, allocations: 80.25 kB / 0.5379 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.3722, allocations: 19.88 kB / 0.5379 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.3724, allocations: 40.48 kB / 0.5379 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.3725, allocations: 28.86 kB / 0.538 GB, free: 13.36 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.000201/0.3727, allocations: 150.5 kB / 0.5381 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.3728, allocations: 35.8 kB / 0.5381 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005711/0.3733, allocations: 290.4 kB / 0.5384 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3733, allocations: 0 / 0.5384 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.3734, allocations: 6.062 kB / 0.5384 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3734, allocations: 0 / 0.5384 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008454/0.3742, allocations: 0.5824 MB / 0.539 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3742, allocations: 2.594 kB / 0.539 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.3743, allocations: 14.22 kB / 0.539 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3743, allocations: 6.594 kB / 0.539 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3743, allocations: 2 kB / 0.539 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3743, allocations: 3.078 kB / 0.539 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.3743, allocations: 1.594 kB / 0.539 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3746, allocations: 181.4 kB / 0.5392 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3747, allocations: 40.39 kB / 0.5392 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.3747, allocations: 7.656 kB / 0.5392 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3748, allocations: 6.406 kB / 0.5392 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.3749, allocations: 5.391 kB / 0.5393 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3749, allocations: 7.047 kB / 0.5393 GB, free: 12.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004168/0.3753, allocations: 318.4 kB / 0.5396 GB, free: 12.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3753, allocations: 0 / 0.5396 GB, free: 12.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006943/0.376, allocations: 168.3 kB / 0.5397 GB, free: 12.14 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.001089/0.3771, allocations: 0.9188 MB / 0.5406 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.3774, allocations: 156.6 kB / 0.5408 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3774, allocations: 0 / 0.5408 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.3775, allocations: 31.23 kB / 0.5408 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.3781, allocations: 102.8 kB / 0.5409 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.3824, allocations: 3.245 MB / 0.5441 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.3826, allocations: 167.9 kB / 0.5442 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003214/0.3829, allocations: 95.19 kB / 0.5443 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.3831, allocations: 121.5 kB / 0.5444 GB, free: 8.762 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3831, allocations: 0 / 0.5444 GB, free: 8.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.425, allocations: 10.94 MB / 0.5551 GB, free: 3.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.71, allocations: 10.55 kB / 0.5551 GB, free: 3.656 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 & /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: 14.402497536997544] Failed to read output from testmodel.py, exit status != 0: 11.820758493005997 11.849069389 11.484886789 Calling exit ...