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.001449/0.001449, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001507/0.001507, allocations: 220.8 kB / 23.03 MB, free: 4.945 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1568/0.1568, allocations: 23.91 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 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_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.001986/0.001986, allocations: 67.84 kB / 471.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3604, allocations: 59.87 MB / 0.5193 GB, free: 9.48 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.07253/0.4329, allocations: 25.14 MB / 0.5439 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.4486, allocations: 10.25 MB / 0.5539 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.4499, allocations: 15.88 kB / 0.5539 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009098/0.4508, allocations: 228.8 kB / 0.5541 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.4543, allocations: 1.008 MB / 0.5551 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005516/0.4598, allocations: 1.523 MB / 0.5566 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.4624, allocations: 1.259 MB / 0.5578 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.4634, allocations: 0.5772 MB / 0.5584 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009291/0.4644, allocations: 0.6197 MB / 0.559 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.4655, allocations: 0.6748 MB / 0.5597 GB, free: 56 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004858/0.466, allocations: 132.8 kB / 0.5598 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/0.47, allocations: 1.255 MB / 0.561 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.4703, allocations: 271.2 kB / 0.5613 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005765/0.4709, allocations: 467.2 kB / 0.5617 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.476, allocations: 2.592 MB / 0.5642 GB, free: 11.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.476, allocations: 0 / 0.5642 GB, free: 11.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.476, allocations: 0 / 0.5642 GB, free: 11.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.4761, allocations: 0 / 0.5642 GB, free: 11.9 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.002959/0.479, allocations: 1.442 MB / 0.5657 GB, free: 10.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4791, allocations: 12.03 kB / 0.5657 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.817e-05/0.4791, allocations: 26.12 kB / 0.5657 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.4793, allocations: 135.7 kB / 0.5658 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.4802, allocations: 223.9 kB / 0.566 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009531/0.4812, allocations: 0.5154 MB / 0.5665 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.4813, allocations: 130 kB / 0.5667 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.4815, allocations: 92.12 kB / 0.5667 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.4834, allocations: 1.045 MB / 0.5678 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.4834, allocations: 3.938 kB / 0.5678 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.4835, allocations: 36 kB / 0.5678 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.4836, allocations: 20 kB / 0.5678 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.4857, allocations: 1.273 MB / 0.5691 GB, free: 6.863 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.005593/0.4913, allocations: 2.826 MB / 0.5718 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.4937, allocations: 1.234 MB / 0.573 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/0.4944, allocations: 395.7 kB / 0.5734 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0051/0.4995, allocations: 2.077 MB / 0.5754 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.4996, allocations: 43 kB / 0.5755 GB, free: 168 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 3.486e-06/0.4996, allocations: 0 / 0.5755 GB, free: 168 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003816/0.5034, allocations: 1.596 MB / 0.577 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.5034, allocations: 60.06 kB / 0.5771 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/0.5042, allocations: 0.5146 MB / 0.5776 GB, free: 13.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.5042, allocations: 33.7 kB / 0.5776 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.5046, allocations: 483.7 kB / 0.5781 GB, free: 13.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.5048, allocations: 234 kB / 0.5783 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.505, allocations: 174.6 kB / 0.5785 GB, free: 13.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.5053, allocations: 378.8 kB / 0.5788 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.5057, allocations: 209.9 kB / 0.579 GB, free: 12.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/0.5063, allocations: 0.5373 MB / 0.5796 GB, free: 11.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.5075, allocations: 0.8143 MB / 0.5804 GB, free: 10.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.5075, allocations: 4 kB / 0.5804 GB, free: 10.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001424/0.5089, allocations: 0.856 MB / 0.5812 GB, free: 9.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.509, allocations: 15.94 kB / 0.5812 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.509, allocations: 8 kB / 0.5812 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.509, allocations: 19.94 kB / 0.5812 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.51, allocations: 268.2 kB / 0.5815 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.832e-05/0.51, allocations: 19.94 kB / 0.5815 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.5105, allocations: 31.98 kB / 0.5815 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.5106, allocations: 48 kB / 0.5816 GB, free: 9.512 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.0003541/0.5109, allocations: 234 kB / 0.5818 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.511, allocations: 71.52 kB / 0.5819 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.5124, allocations: 0.6875 MB / 0.5826 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5124, allocations: 11.98 kB / 0.5826 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5124, allocations: 0 / 0.5826 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.5125, allocations: 0 / 0.5826 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.5135, allocations: 0.6699 MB / 0.5832 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5135, allocations: 0 / 0.5832 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008156/0.5143, allocations: 179.9 kB / 0.5834 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.5143, allocations: 15.88 kB / 0.5834 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.5144, allocations: 19.98 kB / 0.5834 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.5144, allocations: 4 kB / 0.5834 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5144, allocations: 0 / 0.5834 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.5159, allocations: 0.9607 MB / 0.5844 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.5162, allocations: 119.5 kB / 0.5845 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.79e-05/0.5163, allocations: 15.94 kB / 0.5845 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.5165, allocations: 12 kB / 0.5845 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.5167, allocations: 56.56 kB / 0.5846 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.5167, allocations: 27.98 kB / 0.5846 GB, free: 6.336 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004205/0.5172, allocations: 342.8 kB / 0.5849 GB, free: 6.004 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5172, allocations: 0 / 0.5849 GB, free: 6.004 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001486/0.5186, allocations: 482.6 kB / 0.5854 GB, free: 5.531 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.00297/0.5216, allocations: 2.004 MB / 0.5873 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.5227, allocations: 0.5701 MB / 0.5879 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5227, allocations: 4 kB / 0.5879 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.5232, allocations: 267.8 kB / 0.5882 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008771/0.524, allocations: 152.7 kB / 0.5883 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009063/0.5331, allocations: 6.139 MB / 0.5943 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.5335, allocations: 365.5 kB / 0.5946 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005903/0.5341, allocations: 173.4 kB / 0.5948 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/0.5346, allocations: 351.3 kB / 0.5951 GB, free: 11.05 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5346, allocations: 0 / 0.5951 GB, free: 11.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/0.5882, allocations: 22.13 MB / 0.6168 GB, free: 5.172 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.41, allocations: 2.188 kB / 0.6168 GB, free: 5.172 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.351744018960744] Failed to read output from testmodel.py, exit status != 0: 13.588782474049367 13.605760768 13.126253844 Calling exit ...