Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001825/0.001825, allocations: 103.6 kB / 18.95 MB, free: 2.652 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.002341/0.002341, allocations: 222.4 kB / 22.25 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1512/0.1512, allocations: 23.88 MB / 336.3 MB, free: 10.96 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_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.002109/0.002109, allocations: 71.89 kB / 471.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3862, allocations: 59.86 MB / 0.5185 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.00927/0.3955, allocations: 7.588 MB / 0.5259 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03061/0.4261, allocations: 20.51 MB / 0.546 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.4286, allocations: 30.62 kB / 0.546 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.4305, allocations: 479.9 kB / 0.5465 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008315/0.4388, allocations: 2.041 MB / 0.5485 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01302/0.4519, allocations: 3.062 MB / 0.5514 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005286/0.4571, allocations: 2.502 MB / 0.5539 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.4593, allocations: 1.159 MB / 0.555 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.4624, allocations: 1.252 MB / 0.5562 GB, free: 12 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.4667, allocations: 1.376 MB / 0.5576 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006606/0.4674, allocations: 216.2 kB / 0.5578 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009578/0.4769, allocations: 2.529 MB / 0.5603 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.4782, allocations: 0.5146 MB / 0.5608 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002226/0.4804, allocations: 0.9241 MB / 0.5617 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01794/0.4983, allocations: 5.182 MB / 0.5667 GB, free: 8.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4983, allocations: 0 / 0.5667 GB, free: 8.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4983, allocations: 0 / 0.5667 GB, free: 8.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.079e-05/0.4984, allocations: 7.938 kB / 0.5667 GB, free: 8.293 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.007047/0.5055, allocations: 2.639 MB / 0.5693 GB, free: 5.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.5055, allocations: 8.031 kB / 0.5693 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003859/0.5059, allocations: 261.6 kB / 0.5696 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.508, allocations: 426.9 kB / 0.57 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.5103, allocations: 0.9021 MB / 0.5709 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.5105, allocations: 243 kB / 0.5711 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.5109, allocations: 188.3 kB / 0.5713 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003991/0.5149, allocations: 2.086 MB / 0.5733 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.5149, allocations: 0 / 0.5733 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.5151, allocations: 72 kB / 0.5734 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.5152, allocations: 48 kB / 0.5734 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.5198, allocations: 2.553 MB / 0.5759 GB, free: 14.75 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.0127/0.5325, allocations: 5.359 MB / 0.5811 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005897/0.5384, allocations: 2.165 MB / 0.5833 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.5399, allocations: 0.7454 MB / 0.584 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.5516, allocations: 4.199 MB / 0.5881 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.5517, allocations: 43.56 kB / 0.5881 GB, free: 2.066 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.96e-06/0.5517, allocations: 0 / 0.5881 GB, free: 2.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.03291/0.5846, allocations: 5.83 MB / 0.5938 GB, free: 12.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.5847, allocations: 94.42 kB / 0.5939 GB, free: 12.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.5864, allocations: 0.9799 MB / 0.5949 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003288/0.5867, allocations: 49.7 kB / 0.5949 GB, free: 11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008345/0.5876, allocations: 0.8589 MB / 0.5958 GB, free: 10.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007378/0.5883, allocations: 0.5384 MB / 0.5963 GB, free: 9.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006329/0.5889, allocations: 375.4 kB / 0.5966 GB, free: 9.207 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5891, allocations: 309.1 kB / 0.5969 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.5901, allocations: 0.5233 MB / 0.5974 GB, free: 8.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.5919, allocations: 1.247 MB / 0.5987 GB, free: 6.789 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.003476/0.5954, allocations: 1.973 MB / 0.6006 GB, free: 4.488 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/0.5954, allocations: 8 kB / 0.6006 GB, free: 4.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01029/0.6057, allocations: 2.534 MB / 0.6031 GB, free: 1.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.6058, allocations: 22.95 kB / 0.6031 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.274e-05/0.6058, allocations: 24 kB / 0.6031 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006637/0.6125, allocations: 0.7018 MB / 0.6038 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.6148, allocations: 0.5266 MB / 0.6043 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.6288, allocations: 7.776 MB / 0.6119 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.6306, allocations: 72.28 kB / 0.612 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000294/0.6309, allocations: 116 kB / 0.6121 GB, free: 8.219 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.0008624/0.6317, allocations: 373.1 kB / 0.6124 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004486/0.6322, allocations: 151.1 kB / 0.6126 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.6425, allocations: 2.474 MB / 0.615 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/0.6426, allocations: 19.92 kB / 0.615 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/0.6426, allocations: 7.938 kB / 0.615 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.771e-05/0.6426, allocations: 3.984 kB / 0.615 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/0.6494, allocations: 2.302 MB / 0.6173 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/0.6494, allocations: 4 kB / 0.6173 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.6511, allocations: 311.9 kB / 0.6176 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00784/0.659, allocations: 0.7532 MB / 0.6183 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002896/0.6593, allocations: 39.98 kB / 0.6184 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/0.673, allocations: 8.894 MB / 0.627 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.673, allocations: 7.938 kB / 0.627 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.6836, allocations: 2.808 MB / 0.6298 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/0.6841, allocations: 127 kB / 0.6299 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.6844, allocations: 36.17 kB / 0.6299 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/0.6853, allocations: 32 kB / 0.63 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/0.6856, allocations: 136.9 kB / 0.6301 GB, free: 4.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.6858, allocations: 47.98 kB / 0.6302 GB, free: 4.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009789/0.6867, allocations: 0.6381 MB / 0.6308 GB, free: 4.266 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6867, allocations: 4 kB / 0.6308 GB, free: 4.262 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003939/0.6907, allocations: 1.068 MB / 0.6318 GB, free: 3.191 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.01385/0.7045, allocations: 4.371 MB / 0.6361 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004612/0.7091, allocations: 1.987 MB / 0.638 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.7091, allocations: 0 / 0.638 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.7116, allocations: 1.309 MB / 0.6393 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.7136, allocations: 316.4 kB / 0.6396 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0332/0.7468, allocations: 13.61 MB / 0.6529 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008993/0.7477, allocations: 0.6841 MB / 0.6536 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00142/0.7491, allocations: 331.8 kB / 0.6539 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.7502, allocations: 0.7062 MB / 0.6546 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of SimCode: time 1.523e-06/0.7502, allocations: 4 kB / 0.6546 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/0.8705, allocations: 54.36 MB / 0.7077 GB, free: 4.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.07, allocations: 8 kB / 0.7077 GB, free: 4.832 MB / 0.545 GB " [Timeout remaining time 644] (rm -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ExothermicReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.13602925199666] Failed to read output from testmodel.py, exit status != 0: 16.2195053989999 16.24614669 15.742447153 Calling exit ...