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.001298/0.001298, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001421/0.001421, allocations: 220 kB / 23.03 MB, free: 4.922 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1452/0.1452, allocations: 23.91 MB / 337.1 MB, free: 10.95 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.002362/0.002362, allocations: 71.89 kB / 471.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3758, allocations: 59.86 MB / 0.5193 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008658/0.3844, allocations: 7.588 MB / 0.5267 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02858/0.413, allocations: 20.5 MB / 0.5468 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.4155, allocations: 29.22 kB / 0.5468 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.4176, allocations: 485.3 kB / 0.5473 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009424/0.4271, allocations: 2.041 MB / 0.5493 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.4389, allocations: 3.055 MB / 0.5522 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004763/0.4437, allocations: 2.501 MB / 0.5547 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.446, allocations: 1.158 MB / 0.5558 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.4487, allocations: 1.251 MB / 0.557 GB, free: 0 / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003552/0.4523, allocations: 1.378 MB / 0.5584 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009435/0.4532, allocations: 214.8 kB / 0.5586 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.4639, allocations: 2.535 MB / 0.5611 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.4653, allocations: 0.51 MB / 0.5616 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003046/0.4684, allocations: 0.9235 MB / 0.5625 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01893/0.4873, allocations: 5.179 MB / 0.5675 GB, free: 8.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4873, allocations: 0 / 0.5675 GB, free: 8.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4873, allocations: 0 / 0.5675 GB, free: 8.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.4875, allocations: 0 / 0.5675 GB, free: 8.332 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.007847/0.4953, allocations: 2.639 MB / 0.5701 GB, free: 5.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4954, allocations: 12.03 kB / 0.5701 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.564e-05/0.4954, allocations: 51.7 kB / 0.5701 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005625/0.496, allocations: 253.7 kB / 0.5704 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.4983, allocations: 434.9 kB / 0.5708 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.5007, allocations: 0.8982 MB / 0.5717 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003528/0.501, allocations: 246.9 kB / 0.5719 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004814/0.5015, allocations: 192.1 kB / 0.5721 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00402/0.5055, allocations: 2.074 MB / 0.5741 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.5056, allocations: 4 kB / 0.5741 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.5057, allocations: 76 kB / 0.5742 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.5058, allocations: 47.94 kB / 0.5742 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004394/0.5102, allocations: 2.581 MB / 0.5768 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.01141/0.5216, allocations: 5.37 MB / 0.582 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005496/0.5271, allocations: 2.163 MB / 0.5841 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.5285, allocations: 0.7376 MB / 0.5848 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.5389, allocations: 4.202 MB / 0.589 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.5389, allocations: 43.56 kB / 0.589 GB, free: 2.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.667e-06/0.5389, allocations: 0 / 0.589 GB, free: 2.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02993/0.5689, allocations: 5.827 MB / 0.5947 GB, free: 12.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.569, allocations: 98.36 kB / 0.5948 GB, free: 12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.5706, allocations: 0.9375 MB / 0.5957 GB, free: 11.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.5708, allocations: 53.7 kB / 0.5957 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00083/0.5716, allocations: 0.8667 MB / 0.5966 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006143/0.5722, allocations: 0.5384 MB / 0.5971 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006027/0.5728, allocations: 375.4 kB / 0.5975 GB, free: 9.188 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.573, allocations: 305.1 kB / 0.5978 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.574, allocations: 0.531 MB / 0.5983 GB, free: 8.352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.5758, allocations: 1.243 MB / 0.5995 GB, free: 6.77 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.003116/0.5789, allocations: 1.962 MB / 0.6014 GB, free: 4.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.579, allocations: 8 kB / 0.6014 GB, free: 4.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008847/0.5878, allocations: 2.534 MB / 0.6039 GB, free: 1.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.5878, allocations: 16 kB / 0.6039 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.5879, allocations: 24 kB / 0.6039 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006148/0.594, allocations: 0.7058 MB / 0.6046 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.5961, allocations: 0.5227 MB / 0.6051 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.6093, allocations: 7.779 MB / 0.6127 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.6108, allocations: 83.98 kB / 0.6128 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.611, allocations: 112 kB / 0.6129 GB, free: 8.207 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.0008336/0.6118, allocations: 382 kB / 0.6133 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/0.6122, allocations: 147.1 kB / 0.6134 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009587/0.6218, allocations: 2.466 MB / 0.6158 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.6218, allocations: 16 kB / 0.6158 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.6218, allocations: 3.938 kB / 0.6158 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.6218, allocations: 11.97 kB / 0.6159 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005871/0.6277, allocations: 2.31 MB / 0.6181 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.6277, allocations: 8 kB / 0.6181 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.6292, allocations: 312 kB / 0.6184 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007188/0.6364, allocations: 0.7532 MB / 0.6192 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.6366, allocations: 39.98 kB / 0.6192 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/0.6507, allocations: 8.889 MB / 0.6279 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.6507, allocations: 4.031 kB / 0.6279 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.6613, allocations: 2.808 MB / 0.6306 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.6617, allocations: 135.2 kB / 0.6307 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.6619, allocations: 28 kB / 0.6308 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008737/0.6628, allocations: 35.98 kB / 0.6308 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/0.6631, allocations: 136.9 kB / 0.6309 GB, free: 4.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.6633, allocations: 51.98 kB / 0.631 GB, free: 4.895 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00098/0.6642, allocations: 0.6342 MB / 0.6316 GB, free: 4.254 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6642, allocations: 0 / 0.6316 GB, free: 4.254 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003628/0.6679, allocations: 1.06 MB / 0.6326 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.01309/0.681, allocations: 4.378 MB / 0.6369 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004044/0.685, allocations: 1.995 MB / 0.6389 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.685, allocations: 0 / 0.6389 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.6873, allocations: 1.309 MB / 0.6401 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.689, allocations: 319.1 kB / 0.6405 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03078/0.7197, allocations: 13.6 MB / 0.6537 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/0.7206, allocations: 0.6841 MB / 0.6544 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001221/0.7218, allocations: 327.8 kB / 0.6547 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.7229, allocations: 0.7179 MB / 0.6554 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.7229, allocations: 0 / 0.6554 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/0.8369, allocations: 54.07 MB / 0.7082 GB, free: 5.105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.12/18.96, allocations: 11.94 kB / 0.7082 GB, free: 5.094 MB / 0.545 GB " [Timeout remaining time 641] (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: 21.8204357259674] Failed to read output from testmodel.py, exit status != 0: 19.163618360995315 19.180726496 18.689334618 Calling exit ...