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.001297/0.001297, allocations: 101.9 kB / 19.73 MB, free: 1.965 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.001448/0.001448, allocations: 216.5 kB / 23.03 MB, free: 4.434 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.485/1.485, allocations: 230.6 MB / 256.8 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.1537/0.1537, allocations: 23.92 MB / 337.1 MB, free: 10.93 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",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.002002/0.002002, allocations: 59.91 kB / 471.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3534, allocations: 59.87 MB / 0.5193 GB, free: 9.535 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.06986/0.4233, allocations: 24.44 MB / 0.5432 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.4343, allocations: 7.047 MB / 0.5501 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007691/0.4351, allocations: 15.81 kB / 0.5501 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.4358, allocations: 178 kB / 0.5503 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.4382, allocations: 0.6992 MB / 0.551 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.4419, allocations: 1.046 MB / 0.552 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.4438, allocations: 0.9279 MB / 0.5529 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009007/0.4447, allocations: 441.9 kB / 0.5533 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006532/0.4454, allocations: 469.6 kB / 0.5538 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008296/0.4462, allocations: 0.4929 MB / 0.5542 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.4463, allocations: 80 kB / 0.5543 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.4493, allocations: 0.8406 MB / 0.5551 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.4496, allocations: 194.1 kB / 0.5553 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005136/0.4501, allocations: 355.7 kB / 0.5557 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.4539, allocations: 1.819 MB / 0.5574 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4539, allocations: 0 / 0.5574 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4539, allocations: 0.5156 kB / 0.5574 GB, free: 2.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4539, allocations: 0 / 0.5574 GB, free: 2.207 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.002214/0.4561, allocations: 1.112 MB / 0.5585 GB, free: 1.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4561, allocations: 12.03 kB / 0.5585 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.155e-05/0.4562, allocations: 18.19 kB / 0.5585 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.4563, allocations: 110.8 kB / 0.5587 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.457, allocations: 153.8 kB / 0.5588 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.4578, allocations: 435 kB / 0.5592 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.458, allocations: 102.6 kB / 0.5593 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.4581, allocations: 76.08 kB / 0.5594 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.4596, allocations: 0.7729 MB / 0.5601 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.4596, allocations: 11.94 kB / 0.5602 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.4596, allocations: 28 kB / 0.5602 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.4597, allocations: 16 kB / 0.5602 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.4612, allocations: 0.8854 MB / 0.5611 GB, free: 14.85 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.004247/0.4655, allocations: 2.073 MB / 0.5631 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.4672, allocations: 0.8084 MB / 0.5639 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.4677, allocations: 279.2 kB / 0.5641 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003655/0.4714, allocations: 1.512 MB / 0.5656 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.4714, allocations: 38.55 kB / 0.5657 GB, free: 10.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.4714, allocations: 0 / 0.5657 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002711/0.4741, allocations: 1.158 MB / 0.5668 GB, free: 9.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.4742, allocations: 67.34 kB / 0.5668 GB, free: 8.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.4748, allocations: 421.7 kB / 0.5673 GB, free: 8.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.4748, allocations: 33.7 kB / 0.5673 GB, free: 8.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.4751, allocations: 376.2 kB / 0.5676 GB, free: 8.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.4753, allocations: 170.6 kB / 0.5678 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.4755, allocations: 130.6 kB / 0.5679 GB, free: 7.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4757, allocations: 358.8 kB / 0.5683 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.476, allocations: 149.9 kB / 0.5684 GB, free: 7.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.4765, allocations: 388.3 kB / 0.5688 GB, free: 6.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009187/0.4775, allocations: 0.5748 MB / 0.5693 GB, free: 6.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4775, allocations: 4 kB / 0.5693 GB, free: 6.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001085/0.4786, allocations: 0.6131 MB / 0.5699 GB, free: 5.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.4786, allocations: 12.09 kB / 0.57 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.4786, allocations: 15.94 kB / 0.57 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.4786, allocations: 12 kB / 0.57 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/0.4794, allocations: 199.7 kB / 0.5702 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.4794, allocations: 19.92 kB / 0.5702 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.4797, allocations: 24 kB / 0.5702 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.12e-05/0.4798, allocations: 32 kB / 0.5702 GB, free: 5.223 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.0002849/0.4801, allocations: 213.5 kB / 0.5705 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.4802, allocations: 55.61 kB / 0.5705 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.4812, allocations: 0.4896 MB / 0.571 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.4812, allocations: 8 kB / 0.571 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4812, allocations: 7.969 kB / 0.571 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4812, allocations: 0 / 0.571 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009051/0.4821, allocations: 0.5487 MB / 0.5715 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4821, allocations: 4 kB / 0.5715 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.4827, allocations: 140 kB / 0.5717 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.4827, allocations: 7.938 kB / 0.5717 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.4828, allocations: 16 kB / 0.5717 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.4828, allocations: 4 kB / 0.5717 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4828, allocations: 0 / 0.5717 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.4839, allocations: 0.7225 MB / 0.5724 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.4842, allocations: 91.61 kB / 0.5725 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.4842, allocations: 15.98 kB / 0.5725 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.4845, allocations: 12 kB / 0.5725 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4846, allocations: 36.38 kB / 0.5726 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.4846, allocations: 20 kB / 0.5726 GB, free: 2.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003481/0.4849, allocations: 279.1 kB / 0.5728 GB, free: 2.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4849, allocations: 0 / 0.5728 GB, free: 2.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001112/0.4861, allocations: 339 kB / 0.5732 GB, free: 2.137 MB / 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.002256/0.4883, allocations: 1.606 MB / 0.5747 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008112/0.4891, allocations: 406.3 kB / 0.5751 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4891, allocations: 0 / 0.5751 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.4895, allocations: 190.9 kB / 0.5753 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.4902, allocations: 136.7 kB / 0.5754 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006848/0.4971, allocations: 4.813 MB / 0.5801 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4974, allocations: 292.1 kB / 0.5804 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004336/0.4978, allocations: 124.5 kB / 0.5805 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.4982, allocations: 247.3 kB / 0.5808 GB, free: 9.973 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4982, allocations: 3.938 kB / 0.5808 GB, free: 9.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0461/0.5443, allocations: 16.38 MB / 0.5968 GB, free: 9.805 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.95, allocations: 7.625 kB / 0.5968 GB, free: 9.801 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.903129242011346] Failed to read output from testmodel.py, exit status != 0: 13.124668241012841 13.150107942 12.691055111 Calling exit ...