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.001316/0.001316, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001449/0.001449, allocations: 218.2 kB / 23.05 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.172/0.172, allocations: 23.88 MB / 337.1 MB, free: 11.2 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.003052/0.003052, allocations: 67.91 kB / 472 MB, free: 7.695 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3591, allocations: 59.86 MB / 0.5194 GB, free: 9.641 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.03707/0.3962, allocations: 24.08 MB / 0.5429 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.4086, allocations: 9.257 MB / 0.5519 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006403/0.4092, allocations: 15.88 kB / 0.552 GB, free: 7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007869/0.41, allocations: 223.6 kB / 0.5522 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.4112, allocations: 366.5 kB / 0.5525 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004311/0.4155, allocations: 1.437 MB / 0.5539 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.417, allocations: 0.6645 MB / 0.5546 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/0.4174, allocations: 196 kB / 0.5548 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004729/0.4179, allocations: 327.2 kB / 0.5551 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.4185, allocations: 357.5 kB / 0.5554 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-05/0.4186, allocations: 36 kB / 0.5554 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.4221, allocations: 0.8348 MB / 0.5563 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.4223, allocations: 120 kB / 0.5564 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.4226, allocations: 251.7 kB / 0.5566 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004229/0.4268, allocations: 1.539 MB / 0.5581 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4268, allocations: 0 / 0.5581 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4268, allocations: 0 / 0.5581 GB, free: 1.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.4269, allocations: 0 / 0.5581 GB, free: 1.559 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.001687/0.4285, allocations: 0.8868 MB / 0.559 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4286, allocations: 8.031 kB / 0.559 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.116e-05/0.4286, allocations: 12.78 kB / 0.559 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.481e-05/0.4287, allocations: 66.16 kB / 0.5591 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008427/0.4296, allocations: 166.7 kB / 0.5592 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.4303, allocations: 398.4 kB / 0.5596 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.4303, allocations: 24.78 kB / 0.5596 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.4304, allocations: 32.8 kB / 0.5597 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009817/0.4314, allocations: 0.5309 MB / 0.5602 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4314, allocations: 0 / 0.5602 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.4315, allocations: 12 kB / 0.5602 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.4315, allocations: 8 kB / 0.5602 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.4328, allocations: 0.8106 MB / 0.561 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.4357, allocations: 1.848 MB / 0.5628 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.4362, allocations: 209 kB / 0.563 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.4364, allocations: 123.5 kB / 0.5631 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003047/0.4395, allocations: 1.326 MB / 0.5644 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4395, allocations: 35.12 kB / 0.5644 GB, free: 11.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.724e-06/0.4395, allocations: 0 / 0.5644 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.000669/0.4402, allocations: 300.6 kB / 0.5647 GB, free: 11.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.4402, allocations: 56.06 kB / 0.5648 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/0.4409, allocations: 482.9 kB / 0.5652 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4409, allocations: 33.7 kB / 0.5653 GB, free: 10.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.4411, allocations: 296 kB / 0.5656 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.4412, allocations: 71.45 kB / 0.5656 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.4413, allocations: 98.08 kB / 0.5657 GB, free: 10.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4415, allocations: 358.8 kB / 0.5661 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.4417, allocations: 84.83 kB / 0.5661 GB, free: 10.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.4421, allocations: 365.1 kB / 0.5665 GB, free: 9.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.4427, allocations: 0.4924 MB / 0.567 GB, free: 8.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4427, allocations: 4 kB / 0.567 GB, free: 8.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008289/0.4436, allocations: 493.5 kB / 0.5674 GB, free: 8.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.4436, allocations: 8 kB / 0.5675 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.4436, allocations: 16.12 kB / 0.5675 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.4436, allocations: 12 kB / 0.5675 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.444, allocations: 107.8 kB / 0.5676 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.444, allocations: 19.92 kB / 0.5676 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.4443, allocations: 55.56 kB / 0.5677 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.4444, allocations: 36 kB / 0.5677 GB, free: 8.16 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.0002295/0.4446, allocations: 182 kB / 0.5679 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/0.4447, allocations: 47.67 kB / 0.5679 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007458/0.4454, allocations: 407.8 kB / 0.5683 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4454, allocations: 0 / 0.5683 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4454, allocations: 3.938 kB / 0.5683 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4454, allocations: 3.938 kB / 0.5683 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/0.4464, allocations: 0.7044 MB / 0.569 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4464, allocations: 4 kB / 0.569 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.4465, allocations: 11.98 kB / 0.569 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.4465, allocations: 4 kB / 0.569 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4465, allocations: 0 / 0.569 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4465, allocations: 4 kB / 0.569 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4465, allocations: 0 / 0.569 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.4468, allocations: 209 kB / 0.5692 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.4469, allocations: 51.64 kB / 0.5693 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/0.4469, allocations: 11.95 kB / 0.5693 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.4471, allocations: 0 / 0.5693 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.4471, allocations: 11.98 kB / 0.5693 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4471, allocations: 4 kB / 0.5693 GB, free: 6.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005185/0.4476, allocations: 414.8 kB / 0.5697 GB, free: 5.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4476, allocations: 0 / 0.5697 GB, free: 5.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009387/0.4486, allocations: 251.1 kB / 0.5699 GB, free: 5.715 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.001299/0.4499, allocations: 1.033 MB / 0.5709 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.4503, allocations: 222 kB / 0.5711 GB, free: 4.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4503, allocations: 3.938 kB / 0.5712 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.661e-05/0.4504, allocations: 35.98 kB / 0.5712 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.451, allocations: 108.5 kB / 0.5713 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.4564, allocations: 4.156 MB / 0.5753 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.4568, allocations: 0.8113 MB / 0.5761 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.4572, allocations: 144.3 kB / 0.5763 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.4575, allocations: 175.4 kB / 0.5764 GB, free: 14.59 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4575, allocations: 0 / 0.5764 GB, free: 14.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.4974, allocations: 13.63 MB / 0.5898 GB, free: 1.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.41, allocations: 10.73 kB / 0.5898 GB, free: 1.09 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.218949125963263] Failed to read output from testmodel.py, exit status != 0: 12.583652041037567 12.611780137 12.179501027 Calling exit ...