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.001873/0.001873, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002409/0.002409, allocations: 216.1 kB / 22.25 MB, free: 5.262 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.777 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.2038/0.2038, allocations: 24 MB / 336.4 MB, free: 10.83 MB / 270.1 MB " [Timeout remaining time 179] 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.002037/0.002037, allocations: 67.91 kB / 471.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3963, allocations: 59.89 MB / 0.5187 GB, free: 9.508 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.07338/0.4697, allocations: 25.52 MB / 0.5436 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.4854, allocations: 10.25 MB / 0.5537 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.4868, allocations: 19.81 kB / 0.5537 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009683/0.4878, allocations: 249.8 kB / 0.5539 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.4916, allocations: 0.9963 MB / 0.5549 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005105/0.4967, allocations: 1.529 MB / 0.5564 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.4989, allocations: 1.259 MB / 0.5576 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009435/0.4998, allocations: 0.5575 MB / 0.5582 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009168/0.5008, allocations: 0.6232 MB / 0.5588 GB, free: 76 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.502, allocations: 0.6044 MB / 0.5594 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.5022, allocations: 108 kB / 0.5595 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004543/0.5067, allocations: 1.228 MB / 0.5607 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.5071, allocations: 254.9 kB / 0.5609 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007126/0.5078, allocations: 475.6 kB / 0.5614 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007741/0.5156, allocations: 2.578 MB / 0.5639 GB, free: 11.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.5156, allocations: 4 kB / 0.5639 GB, free: 11.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5156, allocations: 0 / 0.5639 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.1e-05/0.5156, allocations: 0 / 0.5639 GB, free: 11.46 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.003368/0.519, allocations: 1.446 MB / 0.5653 GB, free: 9.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.519, allocations: 12.03 kB / 0.5653 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.5192, allocations: 139.6 kB / 0.5654 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.5203, allocations: 219.9 kB / 0.5656 GB, free: 9.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.5214, allocations: 0.5192 MB / 0.5662 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.5216, allocations: 129.9 kB / 0.5663 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.5218, allocations: 92.36 kB / 0.5664 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.5236, allocations: 1.045 MB / 0.5674 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.5236, allocations: 4 kB / 0.5674 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.5237, allocations: 32 kB / 0.5674 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.5237, allocations: 24 kB / 0.5674 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.5259, allocations: 1.257 MB / 0.5687 GB, free: 6.453 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.005424/0.5313, allocations: 2.83 MB / 0.5714 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.5336, allocations: 1.228 MB / 0.5726 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/0.5342, allocations: 395.7 kB / 0.573 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004888/0.5391, allocations: 2.08 MB / 0.575 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.5391, allocations: 43.05 kB / 0.5751 GB, free: 15.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.565e-06/0.5391, allocations: 0 / 0.5751 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003429/0.5426, allocations: 1.603 MB / 0.5766 GB, free: 14.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.5426, allocations: 60.06 kB / 0.5767 GB, free: 14.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/0.5433, allocations: 0.5222 MB / 0.5772 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.5433, allocations: 37.7 kB / 0.5773 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.5437, allocations: 483.7 kB / 0.5777 GB, free: 13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.5439, allocations: 238 kB / 0.5779 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.5441, allocations: 170.6 kB / 0.5781 GB, free: 12.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.5443, allocations: 378.8 kB / 0.5785 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.5447, allocations: 205.9 kB / 0.5787 GB, free: 12.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/0.5455, allocations: 0.5373 MB / 0.5792 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.5467, allocations: 0.8182 MB / 0.58 GB, free: 10.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5467, allocations: 0 / 0.58 GB, free: 10.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001398/0.5481, allocations: 0.8522 MB / 0.5808 GB, free: 9.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.5481, allocations: 8 kB / 0.5808 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.5481, allocations: 15.94 kB / 0.5808 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.5481, allocations: 16 kB / 0.5809 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009711/0.5491, allocations: 268.2 kB / 0.5811 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/0.5491, allocations: 23.92 kB / 0.5811 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.5496, allocations: 28 kB / 0.5812 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/0.5497, allocations: 51.94 kB / 0.5812 GB, free: 9.09 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.0003279/0.55, allocations: 233.6 kB / 0.5814 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.5501, allocations: 67.53 kB / 0.5815 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.5514, allocations: 0.703 MB / 0.5822 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.5514, allocations: 8 kB / 0.5822 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5514, allocations: 0 / 0.5822 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5515, allocations: 3.984 kB / 0.5822 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009924/0.5524, allocations: 0.6699 MB / 0.5828 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5525, allocations: 4 kB / 0.5829 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007317/0.5532, allocations: 172 kB / 0.583 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.5532, allocations: 4 kB / 0.583 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.5532, allocations: 27.94 kB / 0.583 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.5532, allocations: 7.938 kB / 0.5831 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5532, allocations: 3.938 kB / 0.5831 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.5547, allocations: 0.9529 MB / 0.584 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.555, allocations: 119.5 kB / 0.5841 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.5551, allocations: 23.92 kB / 0.5841 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.5553, allocations: 12 kB / 0.5841 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5555, allocations: 52.5 kB / 0.5842 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.5555, allocations: 28 kB / 0.5842 GB, free: 5.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.5559, allocations: 342.8 kB / 0.5845 GB, free: 5.574 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.5559, allocations: 0 / 0.5845 GB, free: 5.574 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001462/0.5574, allocations: 490.6 kB / 0.585 GB, free: 5.094 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.002955/0.5603, allocations: 1.988 MB / 0.5869 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.5614, allocations: 0.574 MB / 0.5875 GB, free: 2.492 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5614, allocations: 3.938 kB / 0.5875 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004208/0.5618, allocations: 263.8 kB / 0.5878 GB, free: 2.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.5626, allocations: 160.6 kB / 0.5879 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/0.571, allocations: 6.135 MB / 0.5939 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.5714, allocations: 361.5 kB / 0.5943 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005815/0.572, allocations: 169.4 kB / 0.5944 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004903/0.5725, allocations: 347.3 kB / 0.5947 GB, free: 10.64 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5725, allocations: 0 / 0.5947 GB, free: 10.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08511/0.6576, allocations: 22.21 MB / 0.6164 GB, free: 4.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.67, allocations: 19.02 kB / 0.6165 GB, free: 4.645 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.70323701808229] Failed to read output from testmodel.py, exit status != 0: 12.791180285159498 12.80834041 12.289384605 Calling exit ...