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.0008589/0.0008589, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009446/0.0009446, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8826/0.8826, allocations: 177.1 MB / 202.8 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 179] 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.08901/0.08901, allocations: 17.37 MB / 276.6 MB, free: 11.74 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 1.5 kB / 411.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.275e-05, allocations: 2.281 kB / 411.4 MB, free: 13.2 MB / 330.7 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.02173/0.02176, allocations: 24.43 MB / 435.9 MB, free: 76 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007019/0.02878, allocations: 8.069 MB / 443.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.02911, allocations: 11.88 kB / 444 MB, free: 8.719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.02966, allocations: 203.8 kB / 444.2 MB, free: 8.562 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006932/0.03035, allocations: 370.3 kB / 444.5 MB, free: 8.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.03305, allocations: 1.488 MB / 446 MB, free: 6.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009/0.03395, allocations: 0.6905 MB / 446.7 MB, free: 6.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.03423, allocations: 197.4 kB / 446.9 MB, free: 6.211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.03457, allocations: 428.6 kB / 447.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.03489, allocations: 289.5 kB / 447.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.03493, allocations: 36 kB / 447.6 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.03616, allocations: 0.782 MB / 448.4 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.03628, allocations: 124.4 kB / 448.5 MB, free: 4.797 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.03641, allocations: 180.2 kB / 448.7 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.03785, allocations: 1.62 MB / 450.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.03786, allocations: 0 / 450.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03786, allocations: 0 / 450.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.03787, allocations: 7.938 kB / 450.3 MB, free: 3.273 MB / 346.7 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.0009556/0.03882, allocations: 0.8834 MB / 451.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.03887, allocations: 8.031 kB / 451.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.302e-05/0.03893, allocations: 72.16 kB / 451.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004362/0.03937, allocations: 156.5 kB / 451.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.03985, allocations: 401.4 kB / 451.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.03988, allocations: 29.81 kB / 451.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.03992, allocations: 32.31 kB / 451.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.04053, allocations: 0.5299 MB / 452.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.04054, allocations: 4 kB / 452.4 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.04057, allocations: 16 kB / 452.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.04058, allocations: 8 kB / 452.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.04131, allocations: 0.7977 MB / 453.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.04303, allocations: 1.778 MB / 455 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.0433, allocations: 202.4 kB / 455.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.04345, allocations: 120.8 kB / 455.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.04486, allocations: 1.287 MB / 456.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.04488, allocations: 38.56 kB / 456.7 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.04489, allocations: 0 / 456.7 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004078/0.04529, allocations: 293.2 kB / 457 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.04532, allocations: 51.41 kB / 457 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.04565, allocations: 490.6 kB / 457.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.04566, allocations: 25.7 kB / 457.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.04581, allocations: 307.9 kB / 457.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.04584, allocations: 59.53 kB / 457.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.04592, allocations: 94.14 kB / 458 MB, free: 11.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.04602, allocations: 362.7 kB / 458.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.04613, allocations: 88.95 kB / 458.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.04634, allocations: 369.7 kB / 458.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.0467, allocations: 0.4964 MB / 459.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.0467, allocations: 0 / 459.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004671/0.04717, allocations: 493.1 kB / 459.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.04719, allocations: 8 kB / 459.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.0472, allocations: 12 kB / 459.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.04722, allocations: 12 kB / 459.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.0474, allocations: 115.8 kB / 459.9 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.04742, allocations: 19.92 kB / 459.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.04756, allocations: 56.06 kB / 460 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.0476, allocations: 44 kB / 460 MB, free: 9.344 MB / 362.7 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.0001239/0.04772, allocations: 177.6 kB / 460.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.04776, allocations: 51.67 kB / 460.2 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.0482, allocations: 395.8 kB / 460.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.0482, allocations: 0 / 460.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.0482, allocations: 4 kB / 460.6 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.04821, allocations: 0 / 460.6 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006629/0.04887, allocations: 0.6734 MB / 461.3 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.04887, allocations: 0 / 461.3 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.04891, allocations: 15.98 kB / 461.3 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.04891, allocations: 3.938 kB / 461.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.04892, allocations: 7.938 kB / 461.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.04892, allocations: 0 / 461.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.04892, allocations: 7.938 kB / 461.3 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.04906, allocations: 193 kB / 461.5 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.04912, allocations: 59.59 kB / 461.6 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.04915, allocations: 8.031 kB / 461.6 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.04921, allocations: 8 kB / 461.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.04923, allocations: 3.984 kB / 461.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.04924, allocations: 11.94 kB / 461.6 MB, free: 7.574 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002858/0.04952, allocations: 410.8 kB / 462 MB, free: 7.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04952, allocations: 0 / 462 MB, free: 7.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004429/0.04996, allocations: 251.1 kB / 462.3 MB, free: 6.93 MB / 362.7 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.0007105/0.05068, allocations: 1.056 MB / 463.3 MB, free: 5.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.05093, allocations: 222 kB / 463.5 MB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.05094, allocations: 0 / 463.5 MB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.05097, allocations: 31.92 kB / 463.6 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.05135, allocations: 123.2 kB / 463.7 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.05434, allocations: 4.099 MB / 467.8 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.05464, allocations: 211.7 kB / 468 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.05488, allocations: 148.3 kB / 468.1 MB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.05504, allocations: 168.4 kB / 468.3 MB, free: 472 kB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05504, allocations: 0 / 468.3 MB, free: 472 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.07843, allocations: 14.53 MB / 482.8 MB, free: 2.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/6.937, allocations: 7.078 kB / 482.8 MB, free: 2.086 MB / 378.7 MB " [Timeout remaining time 653] (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: 8.89039539732039] Failed to read output from testmodel.py, exit status != 0: 7.192637275904417 7.03122285 6.991172207 Calling exit ...