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.001391/0.001391, 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.001657/0.001657, allocations: 214.7 kB / 22.24 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.77 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.1623/0.1623, allocations: 23.99 MB / 336.4 MB, free: 10.84 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.002057/0.002057, allocations: 63.89 kB / 471.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4157, allocations: 59.9 MB / 0.5187 GB, free: 9.547 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.07312/0.4888, allocations: 25.52 MB / 0.5437 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.505, allocations: 10.25 MB / 0.5537 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.5061, allocations: 19.81 kB / 0.5537 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.5072, allocations: 247.3 kB / 0.5539 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.5108, allocations: 0.9959 MB / 0.5549 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005109/0.5159, allocations: 1.529 MB / 0.5564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.5183, allocations: 1.255 MB / 0.5576 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.5195, allocations: 0.5649 MB / 0.5582 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.5206, allocations: 0.6236 MB / 0.5588 GB, free: 52 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.5221, allocations: 0.6055 MB / 0.5594 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000409/0.5225, allocations: 104 kB / 0.5595 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.5268, allocations: 1.22 MB / 0.5607 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005361/0.5273, allocations: 262.8 kB / 0.5609 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.5283, allocations: 471.7 kB / 0.5614 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007379/0.5357, allocations: 2.579 MB / 0.5639 GB, free: 11.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.5357, allocations: 4 kB / 0.5639 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5357, allocations: 0 / 0.5639 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.078e-05/0.5358, allocations: 0 / 0.5639 GB, free: 11.43 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.00487/0.5407, allocations: 1.454 MB / 0.5653 GB, free: 9.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.5407, allocations: 8.031 kB / 0.5653 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003782/0.5411, allocations: 139.6 kB / 0.5654 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.5425, allocations: 215.9 kB / 0.5656 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.544, allocations: 0.5231 MB / 0.5662 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.5441, allocations: 121.9 kB / 0.5663 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.5444, allocations: 92.38 kB / 0.5664 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.5467, allocations: 1.049 MB / 0.5674 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.5467, allocations: 0 / 0.5674 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.5468, allocations: 36 kB / 0.5674 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.5469, allocations: 20 kB / 0.5674 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.5493, allocations: 1.261 MB / 0.5687 GB, free: 6.426 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.006454/0.5558, allocations: 2.83 MB / 0.5714 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.5583, allocations: 1.232 MB / 0.5726 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/0.559, allocations: 399.6 kB / 0.573 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005134/0.5641, allocations: 2.077 MB / 0.575 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.5641, allocations: 39.06 kB / 0.5751 GB, free: 15.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.405e-06/0.5641, allocations: 0 / 0.5751 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003825/0.568, allocations: 1.607 MB / 0.5766 GB, free: 14.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.568, allocations: 60.06 kB / 0.5767 GB, free: 14.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/0.5688, allocations: 0.53 MB / 0.5772 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.5688, allocations: 37.7 kB / 0.5773 GB, free: 13.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.5693, allocations: 471.7 kB / 0.5777 GB, free: 12.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.5695, allocations: 234 kB / 0.5779 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.5698, allocations: 174.6 kB / 0.5781 GB, free: 12.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.57, allocations: 378.8 kB / 0.5785 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.5704, allocations: 209.9 kB / 0.5787 GB, free: 11.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.5712, allocations: 0.5296 MB / 0.5792 GB, free: 11.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.5726, allocations: 0.8182 MB / 0.58 GB, free: 10.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.5726, allocations: 4 kB / 0.58 GB, free: 10.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001842/0.5744, allocations: 0.8489 MB / 0.5808 GB, free: 9.469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.5744, allocations: 12 kB / 0.5808 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.5745, allocations: 11.94 kB / 0.5808 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/0.5745, allocations: 24.03 kB / 0.5809 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.5755, allocations: 263.6 kB / 0.5811 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.608e-05/0.5755, allocations: 27.86 kB / 0.5811 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.5761, allocations: 32 kB / 0.5812 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/0.5762, allocations: 48 kB / 0.5812 GB, free: 9.059 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.000378/0.5765, allocations: 229.6 kB / 0.5814 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.5767, allocations: 79.47 kB / 0.5815 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.5781, allocations: 0.6913 MB / 0.5822 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5781, allocations: 8 kB / 0.5822 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5781, allocations: 0 / 0.5822 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.5781, allocations: 3.984 kB / 0.5822 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.5793, allocations: 0.6777 MB / 0.5829 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5793, allocations: 0 / 0.5829 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.5801, allocations: 171.8 kB / 0.583 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.5801, allocations: 4 kB / 0.583 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.5802, allocations: 23.94 kB / 0.583 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.5802, allocations: 12.06 kB / 0.5831 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5802, allocations: 4 kB / 0.5831 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.5817, allocations: 0.9452 MB / 0.584 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.5821, allocations: 115.5 kB / 0.5841 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.5822, allocations: 19.88 kB / 0.5841 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.5825, allocations: 23.92 kB / 0.5841 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5826, allocations: 52.56 kB / 0.5842 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.5827, allocations: 24 kB / 0.5842 GB, free: 5.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004776/0.5832, allocations: 342.8 kB / 0.5845 GB, free: 5.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5832, allocations: 0 / 0.5845 GB, free: 5.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001669/0.5848, allocations: 490.6 kB / 0.585 GB, free: 5.07 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.003378/0.5882, allocations: 1.992 MB / 0.5869 GB, free: 3.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.5894, allocations: 0.5813 MB / 0.5875 GB, free: 2.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5894, allocations: 0 / 0.5875 GB, free: 2.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.5899, allocations: 259.6 kB / 0.5878 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/0.5908, allocations: 160.8 kB / 0.5879 GB, free: 2.051 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009443/0.6003, allocations: 6.132 MB / 0.5939 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.6007, allocations: 369.5 kB / 0.5943 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006178/0.6013, allocations: 173.4 kB / 0.5944 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/0.6019, allocations: 347.3 kB / 0.5948 GB, free: 10.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6019, allocations: 0 / 0.5948 GB, free: 10.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06456/0.6664, allocations: 22.21 MB / 0.6164 GB, free: 4.633 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.92, allocations: 3.984 kB / 0.6164 GB, free: 4.629 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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2_res.csv --start-time 0 --stop-time 0.0001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-08 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.936506098601967] Failed to read output from testmodel.py, exit status != 0: 13.04452928621322 13.061140282 12.521978043 Calling exit ...