Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001886/0.001886, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002239/0.002239, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1763/0.1763, allocations: 23.85 MB / 333.4 MB, free: 1.195 MB / 254.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.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_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.001976/0.001976, allocations: 68.75 kB / 466.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.105, allocations: 59.83 MB / 0.5142 GB, free: 12.96 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.0376/0.1426, allocations: 24.05 MB / 0.5377 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.1545, allocations: 9.237 MB / 0.5467 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.155, allocations: 15.88 kB / 0.5467 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000703/0.1557, allocations: 226.4 kB / 0.5469 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.1567, allocations: 349.3 kB / 0.5472 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.1606, allocations: 1.424 MB / 0.5486 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1617, allocations: 0.6658 MB / 0.5493 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.1621, allocations: 201.2 kB / 0.5495 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004229/0.1625, allocations: 335 kB / 0.5498 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.1631, allocations: 346.8 kB / 0.5501 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.461e-05/0.1631, allocations: 36 kB / 0.5502 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.1656, allocations: 0.8384 MB / 0.551 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1657, allocations: 115.6 kB / 0.5511 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.1661, allocations: 262.7 kB / 0.5513 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.17, allocations: 1.529 MB / 0.5528 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.17, allocations: 0 / 0.5528 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.17, allocations: 4 kB / 0.5528 GB, free: 5.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.17, allocations: 0 / 0.5528 GB, free: 5.359 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.001879/0.1719, allocations: 0.9642 MB / 0.5538 GB, free: 4.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1719, allocations: 12.03 kB / 0.5538 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.393e-05/0.1719, allocations: 8.844 kB / 0.5538 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.364e-05/0.172, allocations: 70.66 kB / 0.5539 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008051/0.1728, allocations: 168.2 kB / 0.554 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.1736, allocations: 462.2 kB / 0.5545 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.1736, allocations: 24.59 kB / 0.5545 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.1737, allocations: 28 kB / 0.5545 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009403/0.1746, allocations: 0.526 MB / 0.555 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1746, allocations: 8 kB / 0.555 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.1747, allocations: 12 kB / 0.5551 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1747, allocations: 8 kB / 0.5551 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.176, allocations: 0.8063 MB / 0.5559 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/0.1788, allocations: 1.878 MB / 0.5577 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.1793, allocations: 202.5 kB / 0.5579 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.1796, allocations: 124.8 kB / 0.558 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003687/0.1833, allocations: 2.722 MB / 0.5607 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1833, allocations: 34.56 kB / 0.5607 GB, free: 12.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.1833, allocations: 0 / 0.5607 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006737/0.184, allocations: 293.2 kB / 0.561 GB, free: 12.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.1841, allocations: 59.34 kB / 0.561 GB, free: 12.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005818/0.1847, allocations: 486.7 kB / 0.5615 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1847, allocations: 29.7 kB / 0.5615 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.1849, allocations: 300 kB / 0.5618 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.185, allocations: 67.45 kB / 0.5619 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.1851, allocations: 94.08 kB / 0.562 GB, free: 11.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1853, allocations: 358.8 kB / 0.5623 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.1855, allocations: 88.83 kB / 0.5624 GB, free: 10.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.1859, allocations: 357.2 kB / 0.5627 GB, free: 10.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.1866, allocations: 0.4886 MB / 0.5632 GB, free: 9.836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.1866, allocations: 4 kB / 0.5632 GB, free: 9.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008962/0.1875, allocations: 497.3 kB / 0.5637 GB, free: 9.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1875, allocations: 8 kB / 0.5637 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.1875, allocations: 12 kB / 0.5637 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.1875, allocations: 12 kB / 0.5637 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.1879, allocations: 107.8 kB / 0.5638 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.1879, allocations: 23.86 kB / 0.5638 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.1882, allocations: 51.62 kB / 0.5639 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.1883, allocations: 40 kB / 0.5639 GB, free: 9.09 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.0002086/0.1885, allocations: 181.8 kB / 0.5641 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.1886, allocations: 47.67 kB / 0.5641 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.1893, allocations: 403.9 kB / 0.5645 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1893, allocations: 0 / 0.5645 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1893, allocations: 3.938 kB / 0.5645 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1893, allocations: 3.938 kB / 0.5645 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/0.1903, allocations: 0.7288 MB / 0.5652 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1903, allocations: 4 kB / 0.5653 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.1904, allocations: 11.98 kB / 0.5653 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1904, allocations: 0 / 0.5653 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1904, allocations: 4 kB / 0.5653 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.1904, allocations: 7.938 kB / 0.5653 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1904, allocations: 4.188 kB / 0.5653 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1907, allocations: 201 kB / 0.5655 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.1908, allocations: 124.8 kB / 0.5656 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.1909, allocations: 15.89 kB / 0.5656 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.191, allocations: 8 kB / 0.5656 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.1911, allocations: 7.984 kB / 0.5656 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.1911, allocations: 4 kB / 0.5656 GB, free: 7.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000529/0.1916, allocations: 414.8 kB / 0.566 GB, free: 6.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1916, allocations: 0 / 0.566 GB, free: 6.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008143/0.1924, allocations: 251.1 kB / 0.5663 GB, free: 6.52 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.001304/0.1937, allocations: 1.037 MB / 0.5673 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004502/0.1942, allocations: 229.5 kB / 0.5675 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1942, allocations: 3.938 kB / 0.5675 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.1942, allocations: 31.92 kB / 0.5675 GB, free: 5.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.1948, allocations: 114.3 kB / 0.5676 GB, free: 5.066 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/0.2003, allocations: 4.144 MB / 0.5717 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.2008, allocations: 0.8113 MB / 0.5725 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.2012, allocations: 140.1 kB / 0.5726 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.2015, allocations: 171.4 kB / 0.5728 GB, free: 15.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2015, allocations: 0 / 0.5728 GB, free: 15.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.2369, allocations: 13.35 MB / 0.5858 GB, free: 2.137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.396/9.633, allocations: 6.109 kB / 0.5858 GB, free: 2.133 MB / 446.1 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.864698244957253] Failed to read output from testmodel.py, exit status != 0: 9.770738017978147 10.004964861 9.832344502 Calling exit ...