Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.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.001246/0.001246, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001345/0.001345, allocations: 215.1 kB / 22.25 MB, free: 5.258 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.793 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.1322/0.1322, allocations: 23.93 MB / 336.4 MB, free: 10.91 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.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",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.001923/0.001923, allocations: 71.91 kB / 471.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2807, allocations: 59.87 MB / 0.5186 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007199/0.2879, allocations: 7.593 MB / 0.526 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02537/0.3133, allocations: 20.51 MB / 0.5461 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.315, allocations: 26.03 kB / 0.5461 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.3165, allocations: 485.3 kB / 0.5465 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006736/0.3233, allocations: 2.041 MB / 0.5485 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008544/0.3318, allocations: 3.059 MB / 0.5515 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003787/0.3356, allocations: 2.501 MB / 0.554 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.3372, allocations: 1.155 MB / 0.5551 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.3389, allocations: 1.252 MB / 0.5563 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.3412, allocations: 1.372 MB / 0.5577 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003428/0.3415, allocations: 220 kB / 0.5579 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007828/0.3494, allocations: 2.533 MB / 0.5603 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000774/0.3501, allocations: 0.5109 MB / 0.5608 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.3518, allocations: 0.9198 MB / 0.5617 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.364, allocations: 5.182 MB / 0.5668 GB, free: 8.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.364, allocations: 3.984 kB / 0.5668 GB, free: 8.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.364, allocations: 0 / 0.5668 GB, free: 8.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.98e-05/0.364, allocations: 0 / 0.5668 GB, free: 8.254 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.005316/0.3694, allocations: 2.647 MB / 0.5694 GB, free: 5.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3694, allocations: 8.031 kB / 0.5694 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003147/0.3697, allocations: 249.7 kB / 0.5696 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.3716, allocations: 430.9 kB / 0.57 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.3735, allocations: 0.9099 MB / 0.5709 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.3737, allocations: 250.9 kB / 0.5712 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.374, allocations: 184.3 kB / 0.5713 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.3777, allocations: 2.078 MB / 0.5734 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.3777, allocations: 3.938 kB / 0.5734 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.3779, allocations: 76 kB / 0.5734 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.378, allocations: 44 kB / 0.5735 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004197/0.3822, allocations: 2.545 MB / 0.576 GB, free: 14.71 MB / 430.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.01064/0.3928, allocations: 5.355 MB / 0.5812 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/0.3981, allocations: 2.18 MB / 0.5833 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.3994, allocations: 0.7415 MB / 0.5841 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009929/0.4094, allocations: 4.198 MB / 0.5882 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.4094, allocations: 43.56 kB / 0.5882 GB, free: 2.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 5.56e-06/0.4094, allocations: 4 kB / 0.5882 GB, free: 2.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.03006/0.4395, allocations: 5.823 MB / 0.5939 GB, free: 12.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.4396, allocations: 98.36 kB / 0.594 GB, free: 12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.4408, allocations: 0.98 MB / 0.5949 GB, free: 11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.441, allocations: 53.64 kB / 0.595 GB, free: 10.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000639/0.4417, allocations: 0.8628 MB / 0.5958 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.4422, allocations: 0.5306 MB / 0.5964 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005247/0.4427, allocations: 375.5 kB / 0.5967 GB, free: 9.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4428, allocations: 305.1 kB / 0.597 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009706/0.4438, allocations: 0.5272 MB / 0.5975 GB, free: 8.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.4454, allocations: 1.243 MB / 0.5987 GB, free: 6.746 MB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.4482, allocations: 1.981 MB / 0.6007 GB, free: 4.438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.4482, allocations: 4 kB / 0.6007 GB, free: 4.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008995/0.4572, allocations: 2.542 MB / 0.6032 GB, free: 1.871 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.4573, allocations: 16 kB / 0.6032 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/0.4573, allocations: 24 kB / 0.6032 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006615/0.4639, allocations: 0.698 MB / 0.6039 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.4661, allocations: 0.5266 MB / 0.6044 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.4795, allocations: 7.787 MB / 0.612 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.481, allocations: 72 kB / 0.6121 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.4812, allocations: 112 kB / 0.6122 GB, free: 8.168 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006887/0.4818, allocations: 377.1 kB / 0.6125 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.4822, allocations: 143.1 kB / 0.6127 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.4924, allocations: 2.478 MB / 0.6151 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.4924, allocations: 12 kB / 0.6151 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.4924, allocations: 11.94 kB / 0.6151 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.4924, allocations: 7.969 kB / 0.6151 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005699/0.4981, allocations: 2.294 MB / 0.6174 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.4981, allocations: 4.312 kB / 0.6174 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.4997, allocations: 311.6 kB / 0.6177 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00772/0.5074, allocations: 0.7571 MB / 0.6184 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.5075, allocations: 43.98 kB / 0.6184 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.5213, allocations: 8.882 MB / 0.6271 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5213, allocations: 3.938 kB / 0.6271 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009983/0.5312, allocations: 2.816 MB / 0.6299 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.5316, allocations: 127 kB / 0.63 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.5318, allocations: 32 kB / 0.63 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008444/0.5326, allocations: 35.98 kB / 0.63 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.5329, allocations: 129 kB / 0.6302 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.533, allocations: 51.98 kB / 0.6302 GB, free: 4.871 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008696/0.5339, allocations: 0.6342 MB / 0.6308 GB, free: 4.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5339, allocations: 0 / 0.6308 GB, free: 4.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003005/0.5369, allocations: 1.064 MB / 0.6319 GB, free: 3.164 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01215/0.5491, allocations: 4.39 MB / 0.6362 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003676/0.5527, allocations: 1.991 MB / 0.6381 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.5528, allocations: 4 kB / 0.6381 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.5548, allocations: 1.298 MB / 0.6394 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.5564, allocations: 326.8 kB / 0.6397 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/0.585, allocations: 13.6 MB / 0.653 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/0.5858, allocations: 0.684 MB / 0.6536 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00114/0.5869, allocations: 331.8 kB / 0.654 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009582/0.5879, allocations: 0.714 MB / 0.6547 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.5879, allocations: 0 / 0.6547 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/0.6965, allocations: 54.36 MB / 0.7077 GB, free: 4.793 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/14.98, allocations: 10.56 kB / 0.7077 GB, free: 4.785 MB / 0.545 GB " [Timeout remaining time 645] (rm -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.507321591983782] Failed to read output from testmodel.py, exit status != 0: 15.13800940499641 15.164255395 14.795182706 Calling exit ...