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.001267/0.001267, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001494/0.001494, allocations: 215.1 kB / 23.04 MB, free: 5.07 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.1474/0.1474, allocations: 23.88 MB / 337.1 MB, free: 11.16 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.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",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.002097/0.002097, allocations: 67.84 kB / 472 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 59.87 MB / 0.5194 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01049/0.3799, allocations: 8.682 MB / 0.5279 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03378/0.4136, allocations: 23.41 MB / 0.5507 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.4159, allocations: 30.06 kB / 0.5508 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.4179, allocations: 0.5163 MB / 0.5513 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008484/0.4264, allocations: 2.049 MB / 0.5533 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01311/0.4395, allocations: 3.055 MB / 0.5562 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00569/0.4452, allocations: 2.507 MB / 0.5587 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.4477, allocations: 1.162 MB / 0.5598 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.4507, allocations: 1.247 MB / 0.561 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003713/0.4545, allocations: 1.373 MB / 0.5624 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009642/0.4554, allocations: 215.7 kB / 0.5626 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/0.4692, allocations: 2.639 MB / 0.5652 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.4705, allocations: 0.5029 MB / 0.5657 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003249/0.4738, allocations: 1.094 MB / 0.5667 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01705/0.4908, allocations: 5.199 MB / 0.5718 GB, free: 4.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.4908, allocations: 0 / 0.5718 GB, free: 4.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4908, allocations: 0 / 0.5718 GB, free: 4.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001301/0.491, allocations: 0 / 0.5718 GB, free: 4.188 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.00751/0.4985, allocations: 2.654 MB / 0.5744 GB, free: 1.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.4985, allocations: 8.031 kB / 0.5744 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.081e-05/0.4986, allocations: 47.77 kB / 0.5745 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006169/0.4992, allocations: 257.7 kB / 0.5747 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.5016, allocations: 426.9 kB / 0.5751 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/0.5041, allocations: 0.9022 MB / 0.576 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.5044, allocations: 239 kB / 0.5762 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/0.5049, allocations: 196 kB / 0.5764 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/0.509, allocations: 2.082 MB / 0.5784 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.5091, allocations: 3.984 kB / 0.5784 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.5093, allocations: 68 kB / 0.5785 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.5093, allocations: 44 kB / 0.5785 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/0.514, allocations: 2.581 MB / 0.5811 GB, free: 10.57 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.01336/0.5273, allocations: 6.301 MB / 0.5872 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005974/0.5333, allocations: 2.189 MB / 0.5894 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.535, allocations: 0.7416 MB / 0.5901 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/0.5469, allocations: 4.432 MB / 0.5944 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.5469, allocations: 43.56 kB / 0.5945 GB, free: 12.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 6.392e-06/0.5469, allocations: 8 kB / 0.5945 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02948/0.5764, allocations: 5.829 MB / 0.6002 GB, free: 6.656 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.5765, allocations: 90.42 kB / 0.6002 GB, free: 6.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5781, allocations: 0.9414 MB / 0.6012 GB, free: 5.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002367/0.5783, allocations: 49.7 kB / 0.6012 GB, free: 5.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007088/0.579, allocations: 0.8745 MB / 0.6021 GB, free: 4.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007279/0.5797, allocations: 0.5345 MB / 0.6026 GB, free: 4.113 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007722/0.5805, allocations: 375.4 kB / 0.6029 GB, free: 3.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5806, allocations: 301.1 kB / 0.6032 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.5818, allocations: 0.5311 MB / 0.6037 GB, free: 2.906 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.5837, allocations: 1.247 MB / 0.605 GB, free: 1.324 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.003517/0.5872, allocations: 1.969 MB / 0.6069 GB, free: 15.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.392e-05/0.5872, allocations: 4 kB / 0.6069 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009663/0.5969, allocations: 2.534 MB / 0.6094 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.5969, allocations: 12 kB / 0.6094 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.913e-05/0.597, allocations: 24 kB / 0.6094 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005873/0.6029, allocations: 0.7058 MB / 0.6101 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.6053, allocations: 0.5265 MB / 0.6106 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.619, allocations: 7.85 MB / 0.6183 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.6209, allocations: 75.89 kB / 0.6183 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004509/0.6213, allocations: 112 kB / 0.6184 GB, free: 2.688 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.001171/0.6225, allocations: 381.1 kB / 0.6188 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/0.6231, allocations: 143.1 kB / 0.6189 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/0.6332, allocations: 2.474 MB / 0.6214 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.6332, allocations: 23.92 kB / 0.6214 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.6332, allocations: 7.938 kB / 0.6214 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/0.6333, allocations: 3.984 kB / 0.6214 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006705/0.64, allocations: 2.513 MB / 0.6239 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.64, allocations: 8.031 kB / 0.6239 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.6417, allocations: 307.6 kB / 0.6242 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007023/0.6487, allocations: 0.7494 MB / 0.6249 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002507/0.6489, allocations: 43.98 kB / 0.6249 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.6629, allocations: 8.987 MB / 0.6337 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.6629, allocations: 3.938 kB / 0.6337 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.6732, allocations: 2.804 MB / 0.6364 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.6737, allocations: 139 kB / 0.6366 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003969/0.6741, allocations: 28 kB / 0.6366 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6752, allocations: 35.98 kB / 0.6366 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003924/0.6755, allocations: 133 kB / 0.6368 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.6757, allocations: 51.98 kB / 0.6368 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.6768, allocations: 0.6303 MB / 0.6374 GB, free: 14.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6768, allocations: 0 / 0.6374 GB, free: 14.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003707/0.6805, allocations: 1.06 MB / 0.6385 GB, free: 13.37 MB / 494.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.01313/0.6936, allocations: 4.382 MB / 0.6427 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004287/0.6979, allocations: 1.995 MB / 0.6447 GB, free: 6.867 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.6979, allocations: 0 / 0.6447 GB, free: 6.867 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.7002, allocations: 1.298 MB / 0.646 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.702, allocations: 331.5 kB / 0.6463 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03058/0.7326, allocations: 13.61 MB / 0.6596 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.7336, allocations: 1.264 MB / 0.6608 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001238/0.7349, allocations: 327.8 kB / 0.6611 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.7359, allocations: 0.7179 MB / 0.6618 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.7359, allocations: 0 / 0.6618 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/0.8528, allocations: 53.17 MB / 0.7137 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/18.19, allocations: 11.44 kB / 0.7138 GB, free: 15.48 MB / 0.5606 GB " [Timeout remaining time 642] (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 sys.exit(0), Time elapsed: 21.248633023002185] Failed to read output from testmodel.py, exit status != 0: 18.421181301004253 18.450111506 17.953460297 Calling exit ...