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.001399/0.001399, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001678/0.001678, allocations: 218.9 kB / 22.25 MB, free: 5.25 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.797 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.1409/0.1409, allocations: 23.88 MB / 336.3 MB, free: 10.96 MB / 270.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",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.002084/0.002084, allocations: 63.91 kB / 471.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 59.86 MB / 0.5185 GB, free: 9.547 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.0699/0.4104, allocations: 24.05 MB / 0.542 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.4231, allocations: 8.085 MB / 0.5499 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008117/0.4239, allocations: 11.88 kB / 0.5499 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009177/0.4248, allocations: 188.2 kB / 0.5501 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.4263, allocations: 370.3 kB / 0.5505 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005378/0.4317, allocations: 1.439 MB / 0.5519 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.4331, allocations: 0.6629 MB / 0.5525 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.4334, allocations: 200.8 kB / 0.5527 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000419/0.4338, allocations: 327.7 kB / 0.553 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/0.4344, allocations: 357 kB / 0.5534 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.4345, allocations: 32 kB / 0.5534 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.4368, allocations: 0.8018 MB / 0.5542 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.437, allocations: 120 kB / 0.5543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.4373, allocations: 215.5 kB / 0.5545 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.4407, allocations: 1.524 MB / 0.556 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4407, allocations: 0 / 0.556 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4407, allocations: 0 / 0.556 GB, free: 2.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4407, allocations: 0 / 0.556 GB, free: 2.617 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.001614/0.4423, allocations: 0.8865 MB / 0.5568 GB, free: 1.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4424, allocations: 8.875 kB / 0.5569 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.727e-05/0.4425, allocations: 73.45 kB / 0.5569 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008344/0.4433, allocations: 155 kB / 0.5571 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.4441, allocations: 398.3 kB / 0.5575 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.4441, allocations: 25.88 kB / 0.5575 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.916e-05/0.4442, allocations: 31.94 kB / 0.5575 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009536/0.4451, allocations: 0.5292 MB / 0.558 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4451, allocations: 4.703 kB / 0.558 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.4452, allocations: 8 kB / 0.558 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.4452, allocations: 8 kB / 0.558 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.4465, allocations: 0.7946 MB / 0.5588 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.4495, allocations: 1.787 MB / 0.5606 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.4499, allocations: 197.1 kB / 0.5608 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.4502, allocations: 122.5 kB / 0.5609 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003193/0.4534, allocations: 1.303 MB / 0.5621 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.4534, allocations: 31.31 kB / 0.5622 GB, free: 12.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.654e-06/0.4534, allocations: 0 / 0.5622 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006814/0.4541, allocations: 294.2 kB / 0.5625 GB, free: 12.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4541, allocations: 55.41 kB / 0.5625 GB, free: 12.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.4548, allocations: 489.5 kB / 0.563 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.4548, allocations: 29.7 kB / 0.563 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.4551, allocations: 298.1 kB / 0.5633 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.4551, allocations: 65.53 kB / 0.5633 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.4553, allocations: 105.4 kB / 0.5634 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.4555, allocations: 362.1 kB / 0.5638 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.4557, allocations: 90.05 kB / 0.5639 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.4561, allocations: 365.8 kB / 0.5642 GB, free: 10.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.4568, allocations: 496.3 kB / 0.5647 GB, free: 10.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4568, allocations: 4 kB / 0.5647 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008447/0.4576, allocations: 492.6 kB / 0.5652 GB, free: 9.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4577, allocations: 12.94 kB / 0.5652 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.4577, allocations: 8 kB / 0.5652 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.4577, allocations: 12 kB / 0.5652 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.4581, allocations: 119.8 kB / 0.5653 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.4581, allocations: 23.86 kB / 0.5653 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.4584, allocations: 63.5 kB / 0.5654 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.4585, allocations: 32 kB / 0.5654 GB, free: 9.352 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.0002042/0.4587, allocations: 173.6 kB / 0.5656 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.4588, allocations: 47.67 kB / 0.5656 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008009/0.4596, allocations: 395.9 kB / 0.566 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4596, allocations: 3.938 kB / 0.566 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4596, allocations: 0 / 0.566 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.4596, allocations: 11.92 kB / 0.566 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009962/0.4606, allocations: 0.6617 MB / 0.5667 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4606, allocations: 7.938 kB / 0.5667 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.4606, allocations: 11.98 kB / 0.5667 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.4607, allocations: 4 kB / 0.5667 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4607, allocations: 0 / 0.5667 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4607, allocations: 4 kB / 0.5667 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4607, allocations: 4.125 kB / 0.5667 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.4609, allocations: 197.1 kB / 0.5669 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4611, allocations: 59.59 kB / 0.567 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/0.4611, allocations: 7.938 kB / 0.567 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4613, allocations: 7.984 kB / 0.567 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.4613, allocations: 11.94 kB / 0.567 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.4613, allocations: 0 / 0.567 GB, free: 7.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005055/0.4618, allocations: 418.8 kB / 0.5674 GB, free: 7.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4618, allocations: 0 / 0.5674 GB, free: 7.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008446/0.4627, allocations: 247.2 kB / 0.5676 GB, free: 6.957 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.001282/0.4639, allocations: 1.045 MB / 0.5686 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.4644, allocations: 224.7 kB / 0.5689 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4644, allocations: 0 / 0.5689 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.912e-05/0.4644, allocations: 33.55 kB / 0.5689 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.4651, allocations: 130.4 kB / 0.569 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.4704, allocations: 4.144 MB / 0.5731 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.4706, allocations: 207.8 kB / 0.5733 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004094/0.471, allocations: 136.1 kB / 0.5734 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.4713, allocations: 171.4 kB / 0.5735 GB, free: 460 kB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4713, allocations: 0 / 0.5735 GB, free: 460 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04736/0.5186, allocations: 14.51 MB / 0.5877 GB, free: 2.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.98, allocations: 11.86 kB / 0.5877 GB, free: 2.09 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.733274583995808] Failed to read output from testmodel.py, exit status != 0: 12.102442328003235 12.131256647 11.684950426 Calling exit ...