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.00158/0.00158, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001708/0.001708, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1498/0.1498, allocations: 23.85 MB / 333.4 MB, free: 1.223 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_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.001938/0.001938, allocations: 63.88 kB / 466.7 MB, free: 30.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1079, allocations: 59.83 MB / 0.5142 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01089/0.1188, allocations: 8.637 MB / 0.5226 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03075/0.1496, allocations: 23.36 MB / 0.5454 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.151, allocations: 27.75 kB / 0.5454 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.1527, allocations: 0.5195 MB / 0.546 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007037/0.1597, allocations: 2.021 MB / 0.5479 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008897/0.1686, allocations: 3.033 MB / 0.5509 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004288/0.1729, allocations: 2.496 MB / 0.5533 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.1746, allocations: 1.177 MB / 0.5545 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.1764, allocations: 1.243 MB / 0.5557 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.1785, allocations: 1.374 MB / 0.557 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003448/0.1788, allocations: 216 kB / 0.5572 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007921/0.1867, allocations: 2.625 MB / 0.5598 GB, free: 14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.1874, allocations: 0.518 MB / 0.5603 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.1889, allocations: 1.089 MB / 0.5614 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.2005, allocations: 5.191 MB / 0.5664 GB, free: 7.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.2005, allocations: 4 kB / 0.5664 GB, free: 7.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2005, allocations: 4 kB / 0.5664 GB, free: 7.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.173e-05/0.2006, allocations: 3.938 kB / 0.5664 GB, free: 7.164 MB / 430.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.006337/0.2069, allocations: 2.718 MB / 0.5691 GB, free: 4.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.207, allocations: 11.97 kB / 0.5691 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.339e-05/0.2071, allocations: 47.77 kB / 0.5692 GB, free: 4.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003426/0.2074, allocations: 253.7 kB / 0.5694 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.2094, allocations: 426.9 kB / 0.5698 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.2112, allocations: 0.9677 MB / 0.5708 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.2114, allocations: 199.5 kB / 0.5709 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/0.2118, allocations: 184.1 kB / 0.5711 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/0.2155, allocations: 2.086 MB / 0.5732 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.2155, allocations: 0 / 0.5732 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.2157, allocations: 72 kB / 0.5732 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.2157, allocations: 44 kB / 0.5733 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/0.2202, allocations: 2.584 MB / 0.5758 GB, free: 13.43 MB / 446.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.01184/0.232, allocations: 6.375 MB / 0.582 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005447/0.2375, allocations: 2.405 MB / 0.5844 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.2389, allocations: 0.7458 MB / 0.5851 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.277/0.5158, allocations: 8.079 MB / 0.593 GB, free: 63.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.5159, allocations: 45.83 kB / 0.593 GB, free: 63.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.106e-06/0.5159, allocations: 0 / 0.593 GB, free: 63.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02759/0.5435, allocations: 6.22 MB / 0.5991 GB, free: 61.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.5435, allocations: 92.98 kB / 0.5992 GB, free: 61.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.545, allocations: 0.9389 MB / 0.6001 GB, free: 60.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.5452, allocations: 50.95 kB / 0.6002 GB, free: 60.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.5457, allocations: 0.858 MB / 0.601 GB, free: 60.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.5462, allocations: 0.5455 MB / 0.6015 GB, free: 59.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000493/0.5467, allocations: 374.9 kB / 0.6019 GB, free: 59.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.5467, allocations: 301.1 kB / 0.6022 GB, free: 59.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009761/0.5477, allocations: 0.528 MB / 0.6027 GB, free: 59.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.549, allocations: 1.246 MB / 0.6039 GB, free: 58.02 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.002709/0.5518, allocations: 2.046 MB / 0.6059 GB, free: 56.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.5518, allocations: 11.69 kB / 0.6059 GB, free: 56.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008439/0.5602, allocations: 2.53 MB / 0.6084 GB, free: 55.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.5603, allocations: 16.38 kB / 0.6084 GB, free: 55.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/0.5603, allocations: 22.41 kB / 0.6084 GB, free: 55.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005591/0.5659, allocations: 0.7009 MB / 0.6091 GB, free: 55.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.5683, allocations: 0.527 MB / 0.6096 GB, free: 55.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.5787, allocations: 8.27 MB / 0.6177 GB, free: 48.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.5804, allocations: 71.33 kB / 0.6178 GB, free: 48.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/0.5807, allocations: 112.7 kB / 0.6179 GB, free: 48.07 MB / 446.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.0008091/0.5815, allocations: 384.8 kB / 0.6182 GB, free: 47.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.5819, allocations: 155.4 kB / 0.6184 GB, free: 47.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008308/0.5902, allocations: 2.465 MB / 0.6208 GB, free: 46.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.5902, allocations: 19.67 kB / 0.6208 GB, free: 46.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5902, allocations: 0 / 0.6208 GB, free: 46.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/0.5902, allocations: 7.922 kB / 0.6208 GB, free: 46.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/0.5956, allocations: 2.536 MB / 0.6233 GB, free: 44.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.5956, allocations: 3.938 kB / 0.6233 GB, free: 44.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.5972, allocations: 310.4 kB / 0.6236 GB, free: 44.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00636/0.6036, allocations: 0.754 MB / 0.6243 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/0.6038, allocations: 39.64 kB / 0.6244 GB, free: 44.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.6145, allocations: 9.498 MB / 0.6336 GB, free: 35.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.6145, allocations: 7.578 kB / 0.6337 GB, free: 35.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008524/0.623, allocations: 2.808 MB / 0.6364 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/0.6236, allocations: 208.2 kB / 0.6366 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.6238, allocations: 31.94 kB / 0.6366 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.6246, allocations: 35.98 kB / 0.6367 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/0.625, allocations: 129 kB / 0.6368 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.273e-05/0.6251, allocations: 47.98 kB / 0.6368 GB, free: 32.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006978/0.6258, allocations: 0.6342 MB / 0.6374 GB, free: 31.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6258, allocations: 0 / 0.6374 GB, free: 31.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003168/0.6289, allocations: 1.063 MB / 0.6385 GB, free: 30.74 MB / 446.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.01041/0.6393, allocations: 4.382 MB / 0.6428 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.6428, allocations: 1.991 MB / 0.6447 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.6428, allocations: 0 / 0.6447 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001913/0.6447, allocations: 1.309 MB / 0.646 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.6466, allocations: 317.2 kB / 0.6463 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/0.6753, allocations: 13.6 MB / 0.6596 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/0.676, allocations: 1.264 MB / 0.6608 GB, free: 6.926 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001203/0.6772, allocations: 337.5 kB / 0.6611 GB, free: 6.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007884/0.678, allocations: 0.7139 MB / 0.6618 GB, free: 5.887 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.678, allocations: 0 / 0.6618 GB, free: 5.887 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/0.8045, allocations: 51.57 MB / 0.7122 GB, free: 2.605 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/17.54, allocations: 15.91 kB / 0.7122 GB, free: 2.59 MB / 494.1 MB " [Timeout remaining time 642] (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 sys.exit(0), Time elapsed: 20.703778537048493] Failed to read output from testmodel.py, exit status != 0: 17.733142853016034 17.762562696 17.555955089 Calling exit ...