Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001347/0.001347, 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.001584/0.001584, allocations: 215 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1459/0.1459, allocations: 23.88 MB / 337.1 MB, free: 11.25 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_master_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.002961/0.002961, allocations: 59.91 kB / 472 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3504, allocations: 59.87 MB / 0.5194 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004711/0.3551, allocations: 3.034 MB / 0.5224 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008572/0.3637, allocations: 6.35 MB / 0.5286 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.3644, allocations: 11.41 kB / 0.5286 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007511/0.3651, allocations: 154.4 kB / 0.5287 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009671/0.3661, allocations: 255.3 kB / 0.529 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.3695, allocations: 0.9723 MB / 0.5299 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.3705, allocations: 490.4 kB / 0.5304 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.3708, allocations: 143.3 kB / 0.5305 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.3712, allocations: 241.2 kB / 0.5307 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.3716, allocations: 254.2 kB / 0.531 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.107e-05/0.3717, allocations: 24.53 kB / 0.531 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.3738, allocations: 0.5598 MB / 0.5316 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.3739, allocations: 77.36 kB / 0.5316 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.3741, allocations: 183.9 kB / 0.5318 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.3762, allocations: 1.048 MB / 0.5328 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3762, allocations: 0.5625 kB / 0.5328 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3762, allocations: 0.6562 kB / 0.5328 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.3763, allocations: 0 / 0.5328 GB, free: 0.7461 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.001099/0.3774, allocations: 0.6966 MB / 0.5335 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3774, allocations: 10.62 kB / 0.5335 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.191e-05/0.3774, allocations: 5.844 kB / 0.5335 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.3775, allocations: 54.31 kB / 0.5336 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.3781, allocations: 113.7 kB / 0.5337 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.3787, allocations: 316.3 kB / 0.534 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.3787, allocations: 19.53 kB / 0.534 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.3788, allocations: 22.2 kB / 0.534 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.3795, allocations: 386.5 kB / 0.5344 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3795, allocations: 1.281 kB / 0.5344 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.3796, allocations: 9.688 kB / 0.5344 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.3796, allocations: 9.406 kB / 0.5344 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009933/0.3806, allocations: 0.5532 MB / 0.535 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.3828, allocations: 1.374 MB / 0.5363 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.3832, allocations: 158.1 kB / 0.5365 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.3834, allocations: 88.89 kB / 0.5365 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/0.3857, allocations: 0.9715 MB / 0.5375 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.3857, allocations: 31.78 kB / 0.5375 GB, free: 13.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.3857, allocations: 0 / 0.5375 GB, free: 13.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005699/0.3863, allocations: 229.3 kB / 0.5377 GB, free: 13.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.3864, allocations: 52.38 kB / 0.5378 GB, free: 13.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.3869, allocations: 369 kB / 0.5381 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.3869, allocations: 32.23 kB / 0.5382 GB, free: 13.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.3872, allocations: 234 kB / 0.5384 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.3872, allocations: 45.8 kB / 0.5384 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.3874, allocations: 70.2 kB / 0.5385 GB, free: 13.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.3876, allocations: 342.5 kB / 0.5388 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3877, allocations: 67.48 kB / 0.5389 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.3881, allocations: 248 kB / 0.5391 GB, free: 12.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.3885, allocations: 340.4 kB / 0.5395 GB, free: 12.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3886, allocations: 2.75 kB / 0.5395 GB, free: 12.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006272/0.3892, allocations: 351.3 kB / 0.5398 GB, free: 12.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3892, allocations: 12.84 kB / 0.5398 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.3892, allocations: 6.875 kB / 0.5398 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.3893, allocations: 8.094 kB / 0.5398 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.3895, allocations: 80.34 kB / 0.5399 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.3895, allocations: 10 kB / 0.5399 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3897, allocations: 40.97 kB / 0.5399 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.3898, allocations: 25.25 kB / 0.54 GB, free: 12.17 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.0001995/0.39, allocations: 158.5 kB / 0.5401 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.3901, allocations: 47.88 kB / 0.5402 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.3907, allocations: 275 kB / 0.5404 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3907, allocations: 0 / 0.5404 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3907, allocations: 1.25 kB / 0.5404 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3907, allocations: 0.5625 kB / 0.5404 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008622/0.3915, allocations: 0.6075 MB / 0.541 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3915, allocations: 1.562 kB / 0.541 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.3916, allocations: 11.59 kB / 0.541 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3916, allocations: 1.438 kB / 0.541 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3916, allocations: 2.969 kB / 0.541 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3916, allocations: 1.891 kB / 0.541 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.3916, allocations: 18.12 kB / 0.5411 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3919, allocations: 182.5 kB / 0.5412 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.392, allocations: 43.38 kB / 0.5413 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.392, allocations: 8.719 kB / 0.5413 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.3921, allocations: 1.219 kB / 0.5413 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.3921, allocations: 18 kB / 0.5413 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3922, allocations: 2.906 kB / 0.5413 GB, free: 11.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004219/0.3926, allocations: 314.3 kB / 0.5416 GB, free: 10.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3926, allocations: 0 / 0.5416 GB, free: 10.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007317/0.3933, allocations: 172 kB / 0.5418 GB, free: 10.93 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.001267/0.3946, allocations: 0.9152 MB / 0.5427 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.3949, allocations: 157.4 kB / 0.5428 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3949, allocations: 0 / 0.5428 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.395, allocations: 32 kB / 0.5428 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/0.3956, allocations: 93.38 kB / 0.5429 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.4005, allocations: 3.252 MB / 0.5461 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.4011, allocations: 0.7764 MB / 0.5469 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.4014, allocations: 97.59 kB / 0.547 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.4016, allocations: 119.5 kB / 0.5471 GB, free: 6.895 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4016, allocations: 0 / 0.5471 GB, free: 6.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.438, allocations: 10.14 MB / 0.557 GB, free: 2.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.15, allocations: 10.5 kB / 0.557 GB, free: 2.598 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.848994503961876] Failed to read output from testmodel.py, exit status != 0: 12.310881847050041 12.327642188 11.947929282 Calling exit ...