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.001345/0.001345, allocations: 116.1 kB / 17.16 MB, free: 6.004 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.001541/0.001541, allocations: 209.5 kB / 20.13 MB, free: 3.051 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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1404/0.1404, allocations: 23.89 MB / 333.4 MB, free: 1.18 MB / 254.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.001965/0.001965, allocations: 64.78 kB / 466.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1244, allocations: 59.83 MB / 0.5142 GB, free: 12.93 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.03974/0.1642, allocations: 24.06 MB / 0.5377 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.1765, allocations: 9.241 MB / 0.5467 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.177, allocations: 11.88 kB / 0.5468 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.1777, allocations: 222.4 kB / 0.547 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.1788, allocations: 353.3 kB / 0.5473 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004398/0.1832, allocations: 1.428 MB / 0.5487 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.1844, allocations: 0.6619 MB / 0.5493 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.1849, allocations: 201.2 kB / 0.5495 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.1855, allocations: 331.1 kB / 0.5498 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.1861, allocations: 354.8 kB / 0.5502 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.1863, allocations: 36 kB / 0.5502 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.1892, allocations: 0.8306 MB / 0.551 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.1895, allocations: 127.6 kB / 0.5512 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.1899, allocations: 254.7 kB / 0.5514 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003571/0.1934, allocations: 1.533 MB / 0.5529 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1935, allocations: 3.938 kB / 0.5529 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1935, allocations: 0 / 0.5529 GB, free: 5.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.1935, allocations: 4 kB / 0.5529 GB, free: 5.305 MB / 414.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.001815/0.1953, allocations: 0.9633 MB / 0.5538 GB, free: 4.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1953, allocations: 16.03 kB / 0.5539 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.854e-05/0.1954, allocations: 4.844 kB / 0.5539 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.388e-05/0.1955, allocations: 70.72 kB / 0.5539 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.1963, allocations: 160.2 kB / 0.5541 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007611/0.1971, allocations: 458.3 kB / 0.5545 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.1971, allocations: 28.59 kB / 0.5545 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.1972, allocations: 24 kB / 0.5546 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009263/0.1981, allocations: 0.5299 MB / 0.5551 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1981, allocations: 0 / 0.5551 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.1981, allocations: 16 kB / 0.5551 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1982, allocations: 8 kB / 0.5551 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.1995, allocations: 0.8024 MB / 0.5559 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.2023, allocations: 1.89 MB / 0.5577 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.2028, allocations: 198.5 kB / 0.5579 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.2031, allocations: 124.8 kB / 0.558 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003678/0.2067, allocations: 2.722 MB / 0.5607 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.2068, allocations: 30.56 kB / 0.5607 GB, free: 12.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.2068, allocations: 4 kB / 0.5607 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006765/0.2075, allocations: 297.2 kB / 0.561 GB, free: 12.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.2075, allocations: 51.41 kB / 0.5611 GB, free: 12.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.2081, allocations: 482.7 kB / 0.5615 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2081, allocations: 33.64 kB / 0.5616 GB, free: 11.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.2084, allocations: 303.9 kB / 0.5619 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.2085, allocations: 63.48 kB / 0.5619 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.2086, allocations: 98.08 kB / 0.562 GB, free: 11.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.2088, allocations: 358.8 kB / 0.5624 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.209, allocations: 88.83 kB / 0.5624 GB, free: 10.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.2094, allocations: 361.2 kB / 0.5628 GB, free: 10.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.2101, allocations: 496.3 kB / 0.5633 GB, free: 9.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2101, allocations: 4 kB / 0.5633 GB, free: 9.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007956/0.2109, allocations: 488.9 kB / 0.5637 GB, free: 9.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2109, allocations: 8 kB / 0.5637 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2109, allocations: 8 kB / 0.5637 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.2109, allocations: 16.7 kB / 0.5638 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.2113, allocations: 123.8 kB / 0.5639 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.2113, allocations: 23.88 kB / 0.5639 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.2116, allocations: 55.62 kB / 0.5639 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.2116, allocations: 39.92 kB / 0.564 GB, free: 9.035 MB / 430.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.0002085/0.2118, allocations: 178.5 kB / 0.5642 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.2119, allocations: 47.67 kB / 0.5642 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007391/0.2127, allocations: 399.9 kB / 0.5646 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2127, allocations: 0 / 0.5646 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2127, allocations: 7.922 kB / 0.5646 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2127, allocations: 4 kB / 0.5646 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008875/0.2136, allocations: 0.7171 MB / 0.5653 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2136, allocations: 3.938 kB / 0.5653 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.2136, allocations: 12.19 kB / 0.5653 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2136, allocations: 4 kB / 0.5653 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2136, allocations: 4 kB / 0.5653 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2136, allocations: 3.938 kB / 0.5653 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2136, allocations: 4 kB / 0.5653 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.2139, allocations: 201 kB / 0.5655 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.2141, allocations: 136.7 kB / 0.5656 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.2141, allocations: 7.953 kB / 0.5657 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2142, allocations: 4 kB / 0.5657 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.2143, allocations: 3.938 kB / 0.5657 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.2143, allocations: 8 kB / 0.5657 GB, free: 7.129 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004973/0.2148, allocations: 414.8 kB / 0.5661 GB, free: 6.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2148, allocations: 0 / 0.5661 GB, free: 6.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007901/0.2156, allocations: 255.1 kB / 0.5663 GB, free: 6.477 MB / 430.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.001242/0.2168, allocations: 1.037 MB / 0.5673 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004208/0.2172, allocations: 218.2 kB / 0.5675 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2172, allocations: 0 / 0.5675 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.517e-05/0.2173, allocations: 39.86 kB / 0.5676 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.2179, allocations: 121.5 kB / 0.5677 GB, free: 5.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/0.2232, allocations: 4.148 MB / 0.5717 GB, free: 0.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.2237, allocations: 0.8113 MB / 0.5725 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003698/0.2241, allocations: 136.1 kB / 0.5727 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.2243, allocations: 171.4 kB / 0.5728 GB, free: 15.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2243, allocations: 0 / 0.5728 GB, free: 15.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.259, allocations: 13.36 MB / 0.5859 GB, free: 2.105 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.119/9.378, allocations: 7.922 kB / 0.5859 GB, free: 2.098 MB / 446.1 MB " [Timeout remaining time 650] (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: 12.409486401011236] Failed to read output from testmodel.py, exit status != 0: 9.512507478008047 9.773618118 9.577522701 Calling exit ...