Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.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.001816/0.001816, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002381/0.002381, allocations: 217 kB / 22.25 MB, free: 5.082 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 8.004 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.143/0.143, allocations: 23.89 MB / 336.3 MB, free: 11.16 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_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.00193/0.00193, allocations: 63.89 kB / 471.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3463, allocations: 59.87 MB / 0.5186 GB, free: 9.602 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.SimpleReaction2): time 0.03804/0.3843, allocations: 25.87 MB / 0.5439 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.4014, allocations: 11.71 MB / 0.5553 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.4025, allocations: 19.88 kB / 0.5554 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.4035, allocations: 265.1 kB / 0.5556 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.4075, allocations: 0.9907 MB / 0.5566 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005102/0.4126, allocations: 1.536 MB / 0.5581 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002408/0.415, allocations: 1.259 MB / 0.5593 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.4161, allocations: 0.5694 MB / 0.5599 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.4171, allocations: 0.6184 MB / 0.5605 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.4186, allocations: 0.6866 MB / 0.5611 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003698/0.4189, allocations: 108 kB / 0.5612 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004987/0.4239, allocations: 1.297 MB / 0.5625 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005728/0.4245, allocations: 258.3 kB / 0.5628 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.4256, allocations: 0.5501 MB / 0.5633 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006813/0.4324, allocations: 2.588 MB / 0.5658 GB, free: 9.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4324, allocations: 0 / 0.5658 GB, free: 9.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4324, allocations: 8 kB / 0.5658 GB, free: 9.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-05/0.4325, allocations: 0 / 0.5658 GB, free: 9.742 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003547/0.4361, allocations: 1.454 MB / 0.5672 GB, free: 8.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4361, allocations: 8.031 kB / 0.5673 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002257/0.4363, allocations: 135.7 kB / 0.5674 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.4374, allocations: 219.9 kB / 0.5676 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.4384, allocations: 0.5193 MB / 0.5681 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.4386, allocations: 118 kB / 0.5682 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.4388, allocations: 92.38 kB / 0.5683 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.4406, allocations: 1.057 MB / 0.5693 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.4406, allocations: 0 / 0.5693 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.4407, allocations: 36 kB / 0.5694 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.4407, allocations: 24 kB / 0.5694 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.4428, allocations: 1.273 MB / 0.5706 GB, free: 4.719 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.005829/0.4486, allocations: 3.432 MB / 0.574 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.4509, allocations: 1.258 MB / 0.5752 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.4515, allocations: 391.7 kB / 0.5756 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00459/0.4561, allocations: 2.205 MB / 0.5777 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4561, allocations: 35.06 kB / 0.5778 GB, free: 13.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.144e-06/0.4561, allocations: 8 kB / 0.5778 GB, free: 13.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003454/0.4596, allocations: 1.592 MB / 0.5793 GB, free: 11.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.4596, allocations: 64.06 kB / 0.5794 GB, free: 11.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006754/0.4603, allocations: 0.5146 MB / 0.5799 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.4604, allocations: 37.7 kB / 0.5799 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.4607, allocations: 475.7 kB / 0.5804 GB, free: 10.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.4609, allocations: 238 kB / 0.5806 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.4611, allocations: 170.6 kB / 0.5808 GB, free: 10.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.4613, allocations: 374.8 kB / 0.5811 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.4617, allocations: 217.9 kB / 0.5813 GB, free: 9.441 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.4624, allocations: 0.5335 MB / 0.5819 GB, free: 8.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.4635, allocations: 0.8182 MB / 0.5827 GB, free: 7.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.4635, allocations: 4 kB / 0.5827 GB, free: 7.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001414/0.4649, allocations: 0.852 MB / 0.5835 GB, free: 6.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.4649, allocations: 12 kB / 0.5835 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4649, allocations: 15.88 kB / 0.5835 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.465, allocations: 16.78 kB / 0.5835 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/0.4659, allocations: 267.6 kB / 0.5838 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/0.466, allocations: 19.94 kB / 0.5838 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.4664, allocations: 35.98 kB / 0.5839 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/0.4665, allocations: 48 kB / 0.5839 GB, free: 6.523 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0003463/0.4668, allocations: 238 kB / 0.5841 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4669, allocations: 63.58 kB / 0.5842 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.4682, allocations: 0.6914 MB / 0.5849 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4682, allocations: 8 kB / 0.5849 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4683, allocations: 3.984 kB / 0.5849 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.4683, allocations: 3.938 kB / 0.5849 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.4693, allocations: 0.7401 MB / 0.5856 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4693, allocations: 0 / 0.5856 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/0.4701, allocations: 175.8 kB / 0.5858 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.4701, allocations: 8.125 kB / 0.5858 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.4701, allocations: 27.94 kB / 0.5858 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4701, allocations: 4 kB / 0.5858 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4701, allocations: 0 / 0.5858 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.4716, allocations: 0.9568 MB / 0.5867 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.4719, allocations: 115.5 kB / 0.5868 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/0.472, allocations: 15.94 kB / 0.5869 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.4722, allocations: 19.98 kB / 0.5869 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4723, allocations: 48.52 kB / 0.5869 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.4724, allocations: 31.92 kB / 0.587 GB, free: 3.281 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000391/0.4728, allocations: 342.8 kB / 0.5873 GB, free: 2.949 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4728, allocations: 0 / 0.5873 GB, free: 2.949 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001356/0.4741, allocations: 486.6 kB / 0.5878 GB, free: 2.473 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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.00299/0.4771, allocations: 1.992 MB / 0.5897 GB, free: 448 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.4782, allocations: 0.5701 MB / 0.5903 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4782, allocations: 4.25 kB / 0.5903 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.4786, allocations: 263.6 kB / 0.5905 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.4794, allocations: 161.2 kB / 0.5907 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/0.488, allocations: 6.131 MB / 0.5967 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/0.4887, allocations: 0.9617 MB / 0.5976 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005643/0.4893, allocations: 165.4 kB / 0.5977 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.4897, allocations: 347.3 kB / 0.5981 GB, free: 7.414 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4898, allocations: 4 kB / 0.5981 GB, free: 7.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0595/0.5493, allocations: 21.76 MB / 0.6193 GB, free: 1.812 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.73, allocations: 8 kB / 0.6193 GB, free: 1.805 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.466932020150125] Failed to read output from testmodel.py, exit status != 0: 12.848691588034853 12.874644636 12.437423856 Calling exit ...