Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.001389/0.001389, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001453/0.001453, allocations: 220.3 kB / 23.03 MB, free: 4.906 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.1477/0.1477, allocations: 23.88 MB / 337.1 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.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",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.002128/0.002128, allocations: 63.91 kB / 471.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4127, allocations: 59.86 MB / 0.5193 GB, free: 9.582 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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:14337:7-14337:66: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.SimpleReaction): time 0.07671/0.4895, allocations: 24.45 MB / 0.5432 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.5013, allocations: 7.055 MB / 0.55 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008687/0.5021, allocations: 15.88 kB / 0.5501 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.5028, allocations: 170 kB / 0.5502 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.505, allocations: 0.7021 MB / 0.5509 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.5085, allocations: 1.05 MB / 0.5519 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.51, allocations: 0.9352 MB / 0.5528 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006588/0.5107, allocations: 426.9 kB / 0.5533 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006094/0.5113, allocations: 477.2 kB / 0.5537 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/0.5121, allocations: 0.4936 MB / 0.5542 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.5122, allocations: 80 kB / 0.5543 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.5146, allocations: 0.8406 MB / 0.5551 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.5149, allocations: 194.5 kB / 0.5553 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.5154, allocations: 350.7 kB / 0.5556 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.5187, allocations: 1.82 MB / 0.5574 GB, free: 2.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5187, allocations: 4 kB / 0.5574 GB, free: 2.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5187, allocations: 0 / 0.5574 GB, free: 2.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.5187, allocations: 0.7969 kB / 0.5574 GB, free: 2.234 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002251/0.5209, allocations: 1.111 MB / 0.5585 GB, free: 1.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.521, allocations: 8.828 kB / 0.5585 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.089e-05/0.521, allocations: 18.19 kB / 0.5585 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.5212, allocations: 114.4 kB / 0.5586 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006985/0.5219, allocations: 154 kB / 0.5588 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000833/0.5227, allocations: 430.9 kB / 0.5592 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.5228, allocations: 106.7 kB / 0.5593 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.523, allocations: 76.83 kB / 0.5593 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.5246, allocations: 0.7719 MB / 0.5601 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5246, allocations: 4 kB / 0.5601 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.5247, allocations: 32 kB / 0.5601 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.5247, allocations: 16 kB / 0.5601 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.5265, allocations: 0.8776 MB / 0.561 GB, free: 14.89 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004343/0.5308, allocations: 2.075 MB / 0.563 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.5324, allocations: 0.8123 MB / 0.5638 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.5329, allocations: 283.2 kB / 0.5641 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00345/0.5363, allocations: 1.512 MB / 0.5656 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.5364, allocations: 30.56 kB / 0.5656 GB, free: 10.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.625e-06/0.5364, allocations: 0 / 0.5656 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002677/0.5391, allocations: 1.166 MB / 0.5667 GB, free: 9.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.5391, allocations: 55.41 kB / 0.5668 GB, free: 9.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.5397, allocations: 425.7 kB / 0.5672 GB, free: 8.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.5397, allocations: 37.7 kB / 0.5672 GB, free: 8.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.54, allocations: 380.2 kB / 0.5676 GB, free: 8.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.5402, allocations: 170.6 kB / 0.5678 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.5404, allocations: 126.6 kB / 0.5679 GB, free: 7.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.5406, allocations: 358.8 kB / 0.5682 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.5409, allocations: 149.9 kB / 0.5684 GB, free: 7.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.5414, allocations: 392.3 kB / 0.5687 GB, free: 6.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.5423, allocations: 0.5786 MB / 0.5693 GB, free: 6.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5423, allocations: 0 / 0.5693 GB, free: 6.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001084/0.5434, allocations: 0.617 MB / 0.5699 GB, free: 5.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5434, allocations: 12.12 kB / 0.5699 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.5435, allocations: 12 kB / 0.5699 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.5435, allocations: 12 kB / 0.5699 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.5443, allocations: 199.7 kB / 0.5701 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.5443, allocations: 15.94 kB / 0.5701 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.5446, allocations: 23.98 kB / 0.5702 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.5447, allocations: 40 kB / 0.5702 GB, free: 5.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0002919/0.5449, allocations: 213.5 kB / 0.5704 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.545, allocations: 55.61 kB / 0.5705 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.5461, allocations: 497.4 kB / 0.5709 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5461, allocations: 4 kB / 0.5709 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5461, allocations: 0 / 0.5709 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5461, allocations: 3.984 kB / 0.5709 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008429/0.547, allocations: 0.5487 MB / 0.5715 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.547, allocations: 0 / 0.5715 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.5476, allocations: 144 kB / 0.5716 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.5476, allocations: 7.938 kB / 0.5716 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.445e-05/0.5476, allocations: 15.98 kB / 0.5716 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5476, allocations: 11.92 kB / 0.5717 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.5476, allocations: 7.938 kB / 0.5717 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.5488, allocations: 0.7186 MB / 0.5724 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.549, allocations: 91.61 kB / 0.5724 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.5491, allocations: 12 kB / 0.5725 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5493, allocations: 8 kB / 0.5725 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.5494, allocations: 48.3 kB / 0.5725 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.5494, allocations: 16 kB / 0.5725 GB, free: 2.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003423/0.5498, allocations: 275.1 kB / 0.5728 GB, free: 2.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5498, allocations: 0 / 0.5728 GB, free: 2.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001078/0.5508, allocations: 335.1 kB / 0.5731 GB, free: 2.184 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.logn) * 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 (53): * Single equations (assignments): 53 * 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.00233/0.5532, allocations: 1.598 MB / 0.5747 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008044/0.554, allocations: 414.3 kB / 0.5751 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.554, allocations: 0 / 0.5751 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.5543, allocations: 194.9 kB / 0.5753 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.5551, allocations: 133.6 kB / 0.5754 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/0.5619, allocations: 4.828 MB / 0.5801 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.5622, allocations: 292.1 kB / 0.5804 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004087/0.5627, allocations: 116.6 kB / 0.5805 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.563, allocations: 255.3 kB / 0.5807 GB, free: 10.01 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.563, allocations: 0 / 0.5807 GB, free: 10.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04642/0.6095, allocations: 16.36 MB / 0.5967 GB, free: 9.859 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.06, allocations: 8 kB / 0.5967 GB, free: 9.852 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.01367219001986] Failed to read output from testmodel.py, exit status != 0: 13.241691351984628 13.272946098 12.748108267 Calling exit ...