Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.001823/0.001823, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001625/0.001625, allocations: 221.4 kB / 23.03 MB, free: 4.945 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1508/0.1508, allocations: 23.91 MB / 337.1 MB, free: 10.93 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.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",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.002082/0.002082, allocations: 67.91 kB / 471.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3864, allocations: 59.86 MB / 0.5193 GB, free: 9.461 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.0701/0.4565, allocations: 23.78 MB / 0.5426 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.4682, allocations: 8.082 MB / 0.5505 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006857/0.4689, allocations: 11.88 kB / 0.5505 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007823/0.4697, allocations: 184.1 kB / 0.5506 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.4709, allocations: 371.1 kB / 0.551 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.4752, allocations: 1.447 MB / 0.5524 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.4764, allocations: 0.6618 MB / 0.5531 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.4768, allocations: 192.8 kB / 0.5532 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.4772, allocations: 332.8 kB / 0.5536 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.4777, allocations: 347.8 kB / 0.5539 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-05/0.4778, allocations: 39.94 kB / 0.5539 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.4802, allocations: 0.8014 MB / 0.5547 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.4804, allocations: 116.5 kB / 0.5548 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.4807, allocations: 219.9 kB / 0.555 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.484, allocations: 1.524 MB / 0.5565 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.484, allocations: 4 kB / 0.5565 GB, free: 2.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.484, allocations: 0 / 0.5565 GB, free: 2.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.484, allocations: 0 / 0.5565 GB, free: 2.875 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001611/0.4856, allocations: 0.8825 MB / 0.5574 GB, free: 2.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4857, allocations: 12.59 kB / 0.5574 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.365e-05/0.4857, allocations: 12.84 kB / 0.5574 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.963e-05/0.4858, allocations: 70.2 kB / 0.5575 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.4867, allocations: 162.8 kB / 0.5576 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.4874, allocations: 398.3 kB / 0.558 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.4874, allocations: 24.78 kB / 0.558 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.4875, allocations: 32 kB / 0.5581 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.4884, allocations: 0.526 MB / 0.5586 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4884, allocations: 0 / 0.5586 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.4885, allocations: 12.8 kB / 0.5586 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4885, allocations: 8 kB / 0.5586 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.4899, allocations: 0.8058 MB / 0.5594 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.4928, allocations: 1.787 MB / 0.5611 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.4933, allocations: 197.1 kB / 0.5613 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.4935, allocations: 123.4 kB / 0.5614 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/0.4966, allocations: 1.287 MB / 0.5627 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.4967, allocations: 31.17 kB / 0.5627 GB, free: 13.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.923e-06/0.4967, allocations: 4 kB / 0.5627 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006526/0.4973, allocations: 293.2 kB / 0.563 GB, free: 12.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.4974, allocations: 55.41 kB / 0.5631 GB, free: 12.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.4981, allocations: 489.6 kB / 0.5635 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.4981, allocations: 33.64 kB / 0.5636 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.4984, allocations: 297.5 kB / 0.5638 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.4985, allocations: 69.81 kB / 0.5639 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.4986, allocations: 93.7 kB / 0.564 GB, free: 11.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.4988, allocations: 358 kB / 0.5643 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.499, allocations: 90.28 kB / 0.5644 GB, free: 11.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.4994, allocations: 369.4 kB / 0.5648 GB, free: 10.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/0.5001, allocations: 496.3 kB / 0.5653 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.5001, allocations: 8 kB / 0.5653 GB, free: 10.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008046/0.5009, allocations: 481.5 kB / 0.5657 GB, free: 9.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.5009, allocations: 12 kB / 0.5657 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.5009, allocations: 12.03 kB / 0.5657 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.5009, allocations: 16 kB / 0.5658 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.5013, allocations: 115.8 kB / 0.5659 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.5013, allocations: 19.92 kB / 0.5659 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.5016, allocations: 63.55 kB / 0.5659 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.5017, allocations: 35.98 kB / 0.566 GB, free: 9.602 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0002212/0.5019, allocations: 178.1 kB / 0.5662 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.502, allocations: 47.67 kB / 0.5662 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.5028, allocations: 395.9 kB / 0.5666 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5028, allocations: 8 kB / 0.5666 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5028, allocations: 0 / 0.5666 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5028, allocations: 7.922 kB / 0.5666 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009306/0.5037, allocations: 0.6617 MB / 0.5672 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5037, allocations: 3.984 kB / 0.5672 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.5038, allocations: 16.06 kB / 0.5673 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-06/0.5038, allocations: 0 / 0.5673 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.5038, allocations: 4 kB / 0.5673 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5038, allocations: 4.125 kB / 0.5673 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5038, allocations: 11.94 kB / 0.5673 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.5041, allocations: 201 kB / 0.5675 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.5042, allocations: 51.64 kB / 0.5675 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.5043, allocations: 15.94 kB / 0.5675 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.5044, allocations: 4 kB / 0.5675 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.5044, allocations: 7.938 kB / 0.5675 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.5044, allocations: 0 / 0.5675 GB, free: 7.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005187/0.5049, allocations: 418.8 kB / 0.5679 GB, free: 7.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5049, allocations: 0 / 0.5679 GB, free: 7.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009227/0.5059, allocations: 259.1 kB / 0.5682 GB, free: 7.188 MB / 414.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.001351/0.5072, allocations: 1.033 MB / 0.5692 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.5077, allocations: 216.2 kB / 0.5694 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5077, allocations: 1.938 kB / 0.5694 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/0.5077, allocations: 35.92 kB / 0.5694 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.5084, allocations: 121.1 kB / 0.5696 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/0.5141, allocations: 4.156 MB / 0.5736 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.5143, allocations: 215.8 kB / 0.5738 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004393/0.5147, allocations: 128.1 kB / 0.5739 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.515, allocations: 167.4 kB / 0.5741 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of SimCode: time 1.263e-06/0.515, allocations: 0 / 0.5741 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.5536, allocations: 14.1 MB / 0.5879 GB, free: 2.781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.55, allocations: 6.984 kB / 0.5879 GB, free: 2.777 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.383175035007298] Failed to read output from testmodel.py, exit status != 0: 12.719682260998525 12.73601415 12.248714044 Calling exit ...