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.001313/0.001313, allocations: 105.8 kB / 19.73 MB, free: 2.223 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.001434/0.001434, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.145/0.145, allocations: 23.88 MB / 337.1 MB, free: 11.15 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.002204/0.002204, allocations: 63.91 kB / 472 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3369, allocations: 59.86 MB / 0.5194 GB, free: 9.605 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.03754/0.3744, allocations: 25.7 MB / 0.5445 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.3904, allocations: 11.71 MB / 0.5559 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007692/0.3912, allocations: 23.75 kB / 0.5559 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007844/0.392, allocations: 257.3 kB / 0.5562 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.3951, allocations: 0.9975 MB / 0.5572 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004449/0.3996, allocations: 1.533 MB / 0.5587 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.4015, allocations: 1.255 MB / 0.5599 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008888/0.4024, allocations: 0.577 MB / 0.5604 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007872/0.4032, allocations: 0.6148 MB / 0.561 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.4043, allocations: 0.6747 MB / 0.5617 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.4045, allocations: 108 kB / 0.5618 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00527/0.4098, allocations: 1.3 MB / 0.5631 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.4101, allocations: 266.8 kB / 0.5633 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000682/0.4108, allocations: 0.546 MB / 0.5639 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006767/0.4176, allocations: 2.598 MB / 0.5664 GB, free: 9.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4176, allocations: 0 / 0.5664 GB, free: 9.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4176, allocations: 0 / 0.5664 GB, free: 9.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.488e-05/0.4176, allocations: 0 / 0.5664 GB, free: 9.914 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.003895/0.4215, allocations: 1.45 MB / 0.5678 GB, free: 8.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4216, allocations: 8.031 kB / 0.5678 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.971e-05/0.4216, allocations: 26.19 kB / 0.5678 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002525/0.4219, allocations: 143.6 kB / 0.568 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.423, allocations: 211.9 kB / 0.5682 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.4242, allocations: 0.5154 MB / 0.5687 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.4243, allocations: 130 kB / 0.5688 GB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.4245, allocations: 92.12 kB / 0.5689 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.4265, allocations: 1.045 MB / 0.5699 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.4266, allocations: 0 / 0.5699 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.4267, allocations: 36 kB / 0.57 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.4267, allocations: 20 kB / 0.57 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.4291, allocations: 1.28 MB / 0.5712 GB, free: 4.871 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.006493/0.4356, allocations: 3.436 MB / 0.5746 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.4381, allocations: 1.254 MB / 0.5758 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006947/0.4388, allocations: 391.7 kB / 0.5762 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005172/0.4439, allocations: 2.205 MB / 0.5783 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.444, allocations: 43.06 kB / 0.5784 GB, free: 13.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.354e-06/0.444, allocations: 0 / 0.5784 GB, free: 13.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003752/0.4477, allocations: 1.596 MB / 0.5799 GB, free: 11.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4478, allocations: 60 kB / 0.58 GB, free: 11.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000706/0.4485, allocations: 0.5146 MB / 0.5805 GB, free: 11.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.4485, allocations: 41.7 kB / 0.5805 GB, free: 11.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.4489, allocations: 467.7 kB / 0.581 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.4491, allocations: 238 kB / 0.5812 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.4494, allocations: 178.6 kB / 0.5814 GB, free: 10.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4495, allocations: 378.7 kB / 0.5817 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.45, allocations: 209.9 kB / 0.5819 GB, free: 9.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.4506, allocations: 0.5335 MB / 0.5825 GB, free: 8.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.4519, allocations: 0.8143 MB / 0.5833 GB, free: 7.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4519, allocations: 4 kB / 0.5833 GB, free: 7.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00151/0.4534, allocations: 0.8564 MB / 0.5841 GB, free: 7.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.4534, allocations: 16.19 kB / 0.5841 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.4534, allocations: 12 kB / 0.5841 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.4535, allocations: 16 kB / 0.5841 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.4545, allocations: 263.6 kB / 0.5844 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.77e-05/0.4545, allocations: 23.92 kB / 0.5844 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.455, allocations: 24 kB / 0.5844 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.4551, allocations: 51.98 kB / 0.5845 GB, free: 6.68 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.0003507/0.4554, allocations: 234.1 kB / 0.5847 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.4556, allocations: 71.52 kB / 0.5848 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.457, allocations: 0.6991 MB / 0.5855 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.457, allocations: 8 kB / 0.5855 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.457, allocations: 0 / 0.5855 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.457, allocations: 7.984 kB / 0.5855 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.4582, allocations: 0.7362 MB / 0.5862 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4582, allocations: 0 / 0.5862 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/0.4591, allocations: 179.9 kB / 0.5864 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.4591, allocations: 7.938 kB / 0.5864 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.4591, allocations: 19.98 kB / 0.5864 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.4591, allocations: 7.938 kB / 0.5864 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.4592, allocations: 4 kB / 0.5864 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.4607, allocations: 0.9568 MB / 0.5873 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.461, allocations: 119.5 kB / 0.5874 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.4612, allocations: 15.94 kB / 0.5875 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.4615, allocations: 12 kB / 0.5875 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4616, allocations: 52.56 kB / 0.5875 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.4616, allocations: 28 kB / 0.5875 GB, free: 3.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.4621, allocations: 342.8 kB / 0.5879 GB, free: 3.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4621, allocations: 0 / 0.5879 GB, free: 3.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001445/0.4635, allocations: 486.6 kB / 0.5883 GB, free: 2.621 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.00329/0.4668, allocations: 2 MB / 0.5903 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.4683, allocations: 0.5696 MB / 0.5908 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4683, allocations: 0 / 0.5908 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004893/0.4687, allocations: 263.7 kB / 0.5911 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.4697, allocations: 160.4 kB / 0.5913 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4798, allocations: 6.135 MB / 0.5972 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.4806, allocations: 0.9617 MB / 0.5982 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006178/0.4812, allocations: 169.4 kB / 0.5983 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/0.4818, allocations: 347.3 kB / 0.5987 GB, free: 7.555 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4818, allocations: 3.938 kB / 0.5987 GB, free: 7.551 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05712/0.5389, allocations: 21.79 MB / 0.62 GB, free: 1.934 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.36, allocations: 0 / 0.62 GB, free: 1.934 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.28478866093792] Failed to read output from testmodel.py, exit status != 0: 13.539129258017056 13.555034774 13.13400067 Calling exit ...