Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.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.001338/0.001338, 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.001433/0.001433, allocations: 215.5 kB / 22.26 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 8.031 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.1353/0.1353, allocations: 23.89 MB / 336.3 MB, free: 11.18 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",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.002104/0.002104, allocations: 71.03 kB / 471.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3273, allocations: 59.88 MB / 0.5186 GB, free: 9.609 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.SimpleReaction): time 0.03802/0.3653, allocations: 25.04 MB / 0.5431 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.3775, allocations: 8.047 MB / 0.551 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.3783, allocations: 15.88 kB / 0.551 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.379, allocations: 193.5 kB / 0.5512 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.3811, allocations: 0.6942 MB / 0.5518 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.3841, allocations: 1.055 MB / 0.5529 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.3855, allocations: 0.9372 MB / 0.5538 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000613/0.3861, allocations: 433.3 kB / 0.5542 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.3866, allocations: 462.9 kB / 0.5546 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007945/0.3874, allocations: 0.4974 MB / 0.5551 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.3875, allocations: 80 kB / 0.5552 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.39, allocations: 0.8773 MB / 0.5561 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.3902, allocations: 194.2 kB / 0.5562 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.3907, allocations: 418.8 kB / 0.5566 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.3938, allocations: 1.815 MB / 0.5584 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3938, allocations: 0 / 0.5584 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3938, allocations: 0 / 0.5584 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3938, allocations: 4.797 kB / 0.5584 GB, free: 0.7656 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002209/0.396, allocations: 1.116 MB / 0.5595 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3961, allocations: 12.03 kB / 0.5595 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.3962, allocations: 114.7 kB / 0.5596 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006221/0.3969, allocations: 154.6 kB / 0.5598 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/0.3977, allocations: 426.2 kB / 0.5602 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.3978, allocations: 107.3 kB / 0.5603 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3979, allocations: 68.33 kB / 0.5603 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3992, allocations: 0.7807 MB / 0.5611 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.3992, allocations: 0 / 0.5611 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.3993, allocations: 24 kB / 0.5611 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.3993, allocations: 20 kB / 0.5612 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.4008, allocations: 0.8771 MB / 0.562 GB, free: 13.45 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.004114/0.4049, allocations: 2.529 MB / 0.5645 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.4064, allocations: 0.8239 MB / 0.5653 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.4068, allocations: 283.2 kB / 0.5656 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003286/0.4101, allocations: 1.582 MB / 0.5671 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.4101, allocations: 42.55 kB / 0.5671 GB, free: 8.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.205e-06/0.4102, allocations: 0 / 0.5671 GB, free: 8.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002413/0.4126, allocations: 1.17 MB / 0.5683 GB, free: 6.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.4126, allocations: 55.41 kB / 0.5683 GB, free: 6.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.4131, allocations: 417.8 kB / 0.5687 GB, free: 6.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.4131, allocations: 33.7 kB / 0.5688 GB, free: 6.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.4134, allocations: 380.2 kB / 0.5691 GB, free: 6.082 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.4136, allocations: 174.5 kB / 0.5693 GB, free: 5.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.4137, allocations: 126.6 kB / 0.5694 GB, free: 5.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4139, allocations: 362.8 kB / 0.5698 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.4142, allocations: 145.9 kB / 0.5699 GB, free: 5.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.4147, allocations: 388.3 kB / 0.5703 GB, free: 4.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008241/0.4155, allocations: 0.5825 MB / 0.5708 GB, free: 4.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4155, allocations: 0 / 0.5708 GB, free: 4.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000998/0.4165, allocations: 0.6169 MB / 0.5714 GB, free: 3.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4165, allocations: 11.94 kB / 0.5715 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.4165, allocations: 8 kB / 0.5715 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.4165, allocations: 12 kB / 0.5715 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.4173, allocations: 208 kB / 0.5717 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/0.4173, allocations: 19.98 kB / 0.5717 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.4176, allocations: 20 kB / 0.5717 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.4176, allocations: 32 kB / 0.5717 GB, free: 3.172 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0002716/0.4179, allocations: 205.6 kB / 0.5719 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/0.418, allocations: 55.61 kB / 0.572 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009675/0.4189, allocations: 0.5013 MB / 0.5725 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4189, allocations: 4 kB / 0.5725 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.419, allocations: 3.984 kB / 0.5725 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.419, allocations: 4 kB / 0.5725 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008503/0.4198, allocations: 0.5955 MB / 0.5731 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4198, allocations: 3.938 kB / 0.5731 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.4204, allocations: 143.9 kB / 0.5732 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.4204, allocations: 7.938 kB / 0.5732 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.4204, allocations: 19.98 kB / 0.5732 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.4205, allocations: 4 kB / 0.5732 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4205, allocations: 3.938 kB / 0.5732 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.4215, allocations: 0.7264 MB / 0.574 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.4217, allocations: 83.67 kB / 0.574 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.4218, allocations: 15.94 kB / 0.5741 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.422, allocations: 8 kB / 0.5741 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.4221, allocations: 36.38 kB / 0.5741 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.4221, allocations: 23.98 kB / 0.5741 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.4224, allocations: 275.1 kB / 0.5744 GB, free: 376 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4224, allocations: 4 kB / 0.5744 GB, free: 372 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001067/0.4235, allocations: 335 kB / 0.5747 GB, free: 36 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.002402/0.4259, allocations: 1.598 MB / 0.5763 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.4267, allocations: 410.5 kB / 0.5767 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4267, allocations: 192 / 0.5767 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.427, allocations: 194.4 kB / 0.5768 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.4277, allocations: 138.3 kB / 0.577 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/0.4342, allocations: 4.821 MB / 0.5817 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.4348, allocations: 0.8861 MB / 0.5825 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004676/0.4353, allocations: 124.5 kB / 0.5827 GB, free: 7.508 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.4357, allocations: 255.3 kB / 0.5829 GB, free: 7.258 MB / 430.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4357, allocations: 0 / 0.5829 GB, free: 7.258 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05016/0.4858, allocations: 16.05 MB / 0.5986 GB, free: 7.348 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.2, allocations: 4 kB / 0.5986 GB, free: 7.344 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.941906574182212] Failed to read output from testmodel.py, exit status != 0: 12.310123300878331 12.336890892 11.938341025 Calling exit ...