Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07982/0.07982, allocations: 15.54 MB / 318.9 MB, free: 13.61 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 68.77 kB / 446.1 MB, free: 48.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07894/0.08084, allocations: 56.56 MB / 0.4909 GB, free: 20.71 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.006752/0.08759, allocations: 8.606 MB / 0.4993 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02068/0.1083, allocations: 23.31 MB / 0.522 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.1095, allocations: 19.88 kB / 0.522 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1109, allocations: 0.5195 MB / 0.5226 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.1162, allocations: 2.029 MB / 0.5245 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007364/0.1235, allocations: 3.025 MB / 0.5275 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.127, allocations: 2.503 MB / 0.5299 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.1284, allocations: 1.169 MB / 0.5311 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.1298, allocations: 1.227 MB / 0.5323 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.1317, allocations: 1.37 MB / 0.5336 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.1321, allocations: 216 kB / 0.5338 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007418/0.1395, allocations: 2.629 MB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005899/0.1401, allocations: 0.5141 MB / 0.5369 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.1413, allocations: 1.085 MB / 0.5379 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.1515, allocations: 5.054 MB / 0.5429 GB, free: 1.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1515, allocations: 4 kB / 0.5429 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1515, allocations: 0 / 0.5429 GB, free: 1.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.677e-05/0.1515, allocations: 0 / 0.5429 GB, free: 1.98 MB / 398.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.004921/0.1564, allocations: 2.718 MB / 0.5455 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1565, allocations: 8.031 kB / 0.5456 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.1582, allocations: 434.9 kB / 0.546 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.1598, allocations: 0.9676 MB / 0.5469 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.16, allocations: 191.5 kB / 0.5471 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/0.1603, allocations: 188.3 kB / 0.5473 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.1637, allocations: 2.09 MB / 0.5493 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.1638, allocations: 0 / 0.5493 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.164, allocations: 72 kB / 0.5494 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.164, allocations: 47.94 kB / 0.5494 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/0.1682, allocations: 2.584 MB / 0.552 GB, free: 8.547 MB / 414.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.01039/0.1785, allocations: 6.344 MB / 0.5581 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00507/0.1836, allocations: 2.397 MB / 0.5605 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.1849, allocations: 0.7458 MB / 0.5612 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.1959, allocations: 8.073 MB / 0.5691 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.196, allocations: 51.69 kB / 0.5691 GB, free: 5.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.006e-06/0.196, allocations: 0 / 0.5691 GB, free: 5.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02695/0.2229, allocations: 6.229 MB / 0.5752 GB, free: 15.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.223, allocations: 94.42 kB / 0.5753 GB, free: 15.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.2243, allocations: 0.9453 MB / 0.5762 GB, free: 14.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.2244, allocations: 53.7 kB / 0.5763 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006196/0.2251, allocations: 0.8589 MB / 0.5771 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005095/0.2256, allocations: 0.5423 MB / 0.5777 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005221/0.2261, allocations: 371.5 kB / 0.578 GB, free: 12.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2262, allocations: 305.1 kB / 0.5783 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009989/0.2272, allocations: 0.5272 MB / 0.5788 GB, free: 11.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.2288, allocations: 1.239 MB / 0.58 GB, free: 9.977 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.002996/0.2318, allocations: 2.048 MB / 0.582 GB, free: 7.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.2318, allocations: 8 kB / 0.582 GB, free: 7.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008319/0.2401, allocations: 2.534 MB / 0.5845 GB, free: 5.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.2402, allocations: 19.94 kB / 0.5845 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.2402, allocations: 24 kB / 0.5846 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005549/0.2458, allocations: 0.7019 MB / 0.5852 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/0.2479, allocations: 0.5266 MB / 0.5858 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.2606, allocations: 8.259 MB / 0.5938 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.262, allocations: 72 kB / 0.5939 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.2622, allocations: 116 kB / 0.594 GB, free: 10.74 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.0007186/0.2629, allocations: 377.1 kB / 0.5944 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.2632, allocations: 147.1 kB / 0.5945 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008898/0.2721, allocations: 2.472 MB / 0.5969 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.2721, allocations: 12 kB / 0.5969 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2721, allocations: 4 kB / 0.5969 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.2722, allocations: 11.86 kB / 0.5969 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.2775, allocations: 2.527 MB / 0.5994 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.2775, allocations: 3.938 kB / 0.5994 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.279, allocations: 307.6 kB / 0.5997 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006577/0.2856, allocations: 0.7574 MB / 0.6004 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.2857, allocations: 43.92 kB / 0.6005 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2186/0.5043, allocations: 9.481 MB / 0.6097 GB, free: 95.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5043, allocations: 3.188 kB / 0.6098 GB, free: 95.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00914/0.5134, allocations: 2.805 MB / 0.6125 GB, free: 94.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.5138, allocations: 218.8 kB / 0.6127 GB, free: 94.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.514, allocations: 30.19 kB / 0.6127 GB, free: 94.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.5148, allocations: 38.06 kB / 0.6128 GB, free: 93.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/0.5151, allocations: 120.9 kB / 0.6129 GB, free: 93.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/0.5152, allocations: 54.48 kB / 0.6129 GB, free: 93.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007694/0.516, allocations: 0.6311 MB / 0.6135 GB, free: 93.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.516, allocations: 0 / 0.6135 GB, free: 93.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003107/0.5191, allocations: 1.066 MB / 0.6146 GB, free: 93.6 MB / 462.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.001994/0.5211, allocations: 1.109 MB / 0.6157 GB, free: 93.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003531/0.5246, allocations: 1.99 MB / 0.6176 GB, free: 92.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.5246, allocations: 0 / 0.6176 GB, free: 92.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.5265, allocations: 1.3 MB / 0.6189 GB, free: 91.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.528, allocations: 332.5 kB / 0.6192 GB, free: 91.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.5323, allocations: 3.078 MB / 0.6222 GB, free: 90 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.533, allocations: 1.263 MB / 0.6234 GB, free: 89.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.5336, allocations: 269 kB / 0.6237 GB, free: 89.25 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5336, allocations: 0 / 0.6237 GB, free: 89.25 MB / 462.1 MB Notification: Performance of Templates: time 0.04497/0.5786, allocations: 57 MB / 0.6794 GB, free: 38.45 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.003773340024054] Failed to read output from testmodel.py, exit status != 0: 0.7325150270480663 0.594507564 0.44085888700000003 Calling exit ...